Author: adrian
Date: 2008-09-16 00:52:29 -0500 (Tue, 16 Sep 2008)
New Revision: 9046

Modified:
   django/trunk/tests/regressiontests/modeladmin/models.py
Log:
Fixed #9073 -- Fixed a unit test that broke after [9002]. Thanks, kratorius

Modified: django/trunk/tests/regressiontests/modeladmin/models.py
===================================================================
--- django/trunk/tests/regressiontests/modeladmin/models.py     2008-09-16 
05:50:03 UTC (rev 9045)
+++ django/trunk/tests/regressiontests/modeladmin/models.py     2008-09-16 
05:52:29 UTC (rev 9046)
@@ -549,7 +549,7 @@
 >>> 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",)}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to