1
0
mirror of https://github.com/django/django.git synced 2024-12-27 11:35:53 +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 Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
customadmin.py Fixed #8342 -- Removed code from the admin that assumed that you can't login with an email address (nixed by r12634). Also refactored login code slightly to be DRY by using more of auth app's forms and views. 2010-12-02 00:44:35 +00:00
forms.py Fixed #8342 -- Removed code from the admin that assumed that you can't login with an email address (nixed by r12634). Also refactored login code slightly to be DRY by using more of auth app's forms and views. 2010-12-02 00:44:35 +00:00
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 Fixed #6470: made the admin use a URL resolver. 2009-01-14 20:22:25 +00:00
views.py Replaced old-style with new-style decorator syntax. 2011-05-01 16:46:02 +00:00