#8957: Typo in Admin validation exception message
-------------------------------------------+--------------------------------
Reporter: charmless | Owner: nobody
Status: reopened | Milestone:
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Comment (by morty):
Replying to [comment:2 morty]:
> Reopening this ticket as the test still fails in the same way as
initially described.
Sorry, it isn't exactly as described. The output of the failing test is:
{{{
Failed example:
validate(ValidationTestModelAdmin, ValidationTestModel)
Expected:
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'.
Got:
Traceback (most recent call last):
...
ImproperlyConfigured:
'ValidationTestModelAdmin.prepopulated_fields['slug'][0]' refers to field
'non_existent_field' that is missing from model 'ValidationTestModel'.
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/8957#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---