1
0
mirror of https://github.com/django/django.git synced 2025-01-12 11:26:23 +00:00
django/tests/regressiontests/admin_views
Julien Phalip 93fbb77d9b Fixed #16716 -- Fixed two small regressions in the development version introduced in r16144 where the changelist crashed with a 500 error instead of nicely operating a 302 redirection back to the changelist.
The two specific cases were:

* a lookup through a non-existing field and apparently spanning multiple relationships (e.g. "?nonexistant__whatever=xxxx").
* a proper list_filter's queryset failing with an exception. In Django 1.3 the queryset was only directly manipulated by the changelist, whereas in 1.4 the list_filters may manipulate the queryset themselves. The fix here implies catching potential failures from the list_filters too.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-28 07:57:56 +00:00
..
fixtures Fixed typos in admin_views tests XML fixtures. 2011-07-08 14:22:36 +00:00
__init__.py
customadmin.py
forms.py
models.py Fixed #16604 -- Use new save_related hook when saving objects on the changelist, too. Thanks, pdeglopper. 2011-08-12 14:14:24 +00:00
tests.py Fixed #16716 -- Fixed two small regressions in the development version introduced in r16144 where the changelist crashed with a 500 error instead of nicely operating a 302 redirection back to the changelist. 2011-08-28 07:57:56 +00:00
urls.py
views.py Replaced old-style with new-style decorator syntax. 2011-05-01 16:46:02 +00:00