After clicking "Save" in admin, does not return to last paginated page
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently I have 3 pages of objects in my admin. I've ordered my objects in such a way that when I edit a group of objects they are near each other. So when I save I'd like to be returned to the previous page of my object list. Currently it returns to the 1st page always.
I've tracked down where this is: line 274 in django/contrib/admin/views/main.py
We'd need to either pass the page into the change form (ex: ?p=2) and then pass it to the redirect, or store it as a session variable to pull back out and remove. Or some other option a Django developer can think of.