1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00
django/tests/admin_views
Rainer Koirikivi 3c03004050 Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objects
The default delete action resulted in a NoReverseMatch if it were to
list any Model with a ModelAdmin with `get_urls` overridden to remove
the change url.  Catching the error and not displaying the link in that
case, as was already done for models with no registered admins.

Thanks Keryn Knight for the report.
2013-08-19 12:01:33 -04:00
..
fixtures
templates
__init__.py
admin.py Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objects 2013-08-19 12:01:33 -04:00
customadmin.py Added a test for AdminSite.app_index_template; refs #8498. 2013-07-31 06:59:15 -04:00
forms.py
models.py Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objects 2013-08-19 12:01:33 -04:00
tests.py Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objects 2013-08-19 12:01:33 -04:00
urls.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
views.py