1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00
django/tests/regressiontests/admin_inlines
Ramiro Morales ab72e6bdd1 Tweaked a tests tweak from r16960 so it uses the right model.
When testing for permission enforcement in the admin for m2m
relationships we were erroneously using the ID of the related model
instead of using the ID of the corresponding automatically created
intermediate model. This manifested as a failure under Oracle but can
fail with any backend if the IDs of both models diverge.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-17 02:11:12 +00:00
..
fixtures Fixed #12561. InlineAdmin now respects can_delete=False. Thanks, nessita. 2010-02-23 17:14:50 +00:00
__init__.py
admin.py Fixed #16838 -- Corrected broken add-another inline JS in admin with related_name="+". Thanks jamesp for report and patch. 2011-09-21 14:00:58 +00:00
models.py Fixed #16838 -- Corrected broken add-another inline JS in admin with related_name="+". Thanks jamesp for report and patch. 2011-09-21 14:00:58 +00:00
tests.py Tweaked a tests tweak from r16960 so it uses the right model. 2011-10-17 02:11:12 +00:00
urls.py Convert much of the regression tests to use absolute imports. There's still work to be done though. 2011-10-13 18:51:33 +00:00