Browse files

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


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent af23d8d commit 8efeaea9dda9e3869e02b39e57ee1d194fb32352 @adrianholovaty adrianholovaty committed Sep 16, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/modeladmin/
@@ -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",)}

0 comments on commit 8efeaea

Please sign in to comment.