mirror of
https://github.com/django/django.git
synced 2025-11-01 20:31:40 +00:00
Fixed #3400 -- Support for lookup separator with list_filter admin option. Thanks to DrMeers and vitek_pliska for the patch!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
274aba3b9b
commit
dc334a2ba8
12 changed files with 316 additions and 47 deletions
|
|
@ -835,7 +835,7 @@ class ValidationTests(unittest.TestCase):
|
|||
|
||||
self.assertRaisesRegexp(
|
||||
ImproperlyConfigured,
|
||||
"'ValidationTestModelAdmin.list_filter\[0\]' refers to field 'non_existent_field' that is missing from model 'ValidationTestModel'.",
|
||||
"'ValidationTestModelAdmin.list_filter\[0\]' refers to 'non_existent_field' which does not refer to a Field.",
|
||||
validate,
|
||||
ValidationTestModelAdmin,
|
||||
ValidationTestModel,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue