On 2008-09-09 at 22:46:52 -0700, Samuel Mathieson wrote: > Date: Tue, 9 Sep 2008 22:46:52 -0700 (PDT) > To: Django users <django-users@googlegroups.com> > From: Samuel Mathieson <[EMAIL PROTECTED]> > Subject: validation inline > > Hello, I am trying to get some sort of validation inline for the > admin: > <snip> > > The validation works just fine, but it does not seem to show the error > message anywhere but at the top, and then only a "correct following > errors:" message with no following errors. > > Am I doing this correctly or is this a bug?
I am running into the same error. I created a file 'change_form.html' with the following code that I dug up on google: {%extends "admin/change_form.html" %} {%block form_top %} {{form.error_dict.items|pprint}} {{errors|pprint}} {%endblock%} I end up getting an error message in this format: '' [u'<ul class="errorlist"><li>*the inline object* with this None already exists.</li></ul>'] If I have a Person model with an Address model displayed inline, the error reads: '' [u'<ul class="errorlist"><li>Address with this None already exists.</li></ul>'] I commented out the 'inlines' line in my PersonAdmin class for now with the idea of coming back to it later next week--once my deadline has passed... ;) -Aaron --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---