#8957: Typo in Admin validation exception message
-----------------------------+----------------------------------------------
Reporter: charmless | Owner: nobody
Status: new | Milestone:
Component: Admin interface | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 1 |
-----------------------------+----------------------------------------------
If a prepopulated_fields value refers to a nonexistant field, the error
message is in correct.
So for:
{{{
prepopulated_fields = {'slug': ['field_which_doesnt_exist']}
}}}
The error raised is:
{{{
'SomeAdmin.prepopulated_fields['field_which_doesnt_exist'][0]' refers to
field 'field_which_doesnt_exist' that is missing from model 'Release'.
}}}
The expected error should finger 'slug' as the key with the offending
source field:
{{{
'SomeAdmin.prepopulated_fields['slug'][0]' refers to field
'field_which_doesnt_exist' that is missing from model 'Release'.
}}}
This is a simple typo. Fix attached.
--
Ticket URL: <http://code.djangoproject.com/ticket/8957>
Django Code <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
-~----------~----~----~----~------~----~------~--~---