Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #9073 -- Fixed a unit test that broke after [9002]. Thanks, kra…

…torius

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8efeaea9dda9e3869e02b39e57ee1d194fb32352 1 parent af23d8d
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/modeladmin/models.py
View
2  tests/regressiontests/modeladmin/models.py
@@ -549,7 +549,7 @@ class and an AdminSite instance, so let's just go ahead and do that manually
>>> 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",)}
Please sign in to comment.
Something went wrong with that request. Please try again.