#12749: "Please correct the error below." when saving add model form with inline
formset and no auto primary key.
---------------------------------------------+------------------------------
Reporter: [email protected] | Owner: nessita
Status: assigned | Milestone: 1.2
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by nessita):
* owner: nobody => nessita
* status: new => assigned
Comment:
This ticket has two sub-problems in it:
* {{{django/contrib/admin/templates/admin/change_form.html}}} should not
iterate over the {{{adminform.form.non_field_errors}}} and should not
build the {{{<ul>}}} by its own, but use the {{{{{ non_field_errors }}}}}
directly instead. We may need to check the rest of the forms for this
problem. I'll be doing the follow up and submitting patches to ticket
#11681.
* For this particular example, I'm also getting the error "Model
fashionista with pk 1 does not exist.", I have to investigate this
further.
--
Ticket URL: <http://code.djangoproject.com/ticket/12749#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.