summaryrefslogtreecommitdiff
path: root/tests/regressiontests/modeladmin/models.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2008-09-16 05:52:29 +0000
committerAdrian Holovaty <adrian@holovaty.com>2008-09-16 05:52:29 +0000
commit8efeaea9dda9e3869e02b39e57ee1d194fb32352 (patch)
treeb9851337bb05e9590f16c5dfaeecbfbcee093bab /tests/regressiontests/modeladmin/models.py
parentaf23d8d3b38270f58404c002942bcc200f1855bf (diff)
Fixed #9073 -- Fixed a unit test that broke after [9002]. Thanks, kratorius
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/modeladmin/models.py')
-rw-r--r--tests/regressiontests/modeladmin/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/modeladmin/models.py b/tests/regressiontests/modeladmin/models.py
index f6fda40cf4..f7526ab3dd 100644
--- a/tests/regressiontests/modeladmin/models.py
+++ b/tests/regressiontests/modeladmin/models.py
@@ -549,7 +549,7 @@ ImproperlyConfigured: 'ValidationTestModelAdmin.prepopulated_fields' refers to f
>>> validate(ValidationTestModelAdmin, ValidationTestModel)
Traceback (most recent call last):
...
-ImproperlyConfigured: 'ValidationTestModelAdmin.prepopulated_fields['non_existent_field'][0]' refers to field 'non_existent_field' that is missing from model 'ValidationTestModel'.
+ImproperlyConfigured: 'ValidationTestModelAdmin.prepopulated_fields['slug'][0]' refers to field 'non_existent_field' that is missing from model 'ValidationTestModel'.
>>> class ValidationTestModelAdmin(ModelAdmin):
... prepopulated_fields = {"users": ("name",)}