1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00
django/tests
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
..
modeltests Fixed a test that relied on the database to reject invalid data; MySQL doesn't. Refs #17055. 2011-10-16 14:30:43 +00:00
regressiontests Tweaked a tests tweak from r16960 so it uses the right model. 2011-10-17 02:11:12 +00:00
templates
runtests.py Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
test_sqlite.py
urls.py Converted internal link generation in the admin and admin document generator to use named URLs. 2011-09-20 18:30:06 +00:00