#13223: ValueError with inline and save as new
-------------------------------------+-------------------------------------
Reporter: | Owner: gptvnt
lucalenardi | Status: assigned
Type: Bug | Component: contrib.admin
Milestone: | Severity: Normal
Version: 1.1 | Keywords: admin, save-as-new
Resolution: | Has patch: 1
Triage Stage: Accepted | Needs tests: 0
Needs documentation: 0 | Easy pickings: 0
Patch needs improvement: 1 |
-------------------------------------+-------------------------------------
Changes (by prestontimmons):
* needs_better_patch: 0 => 1
Comment:
Hi Kevin,
Thanks for putting a patch together. I tested it out. It applies cleanly
to revision 16181 and seems to fix the issue here, but the changes to
django/forms/formsets.py introduce problems into the model formsets:
{{{#!python
ERROR: test_add_form_deletion_when_invalid
(modeltests.model_formsets.tests.DeletionTests)
...
AttributeError: 'PoetFormFormSet' object has no attribute 'save_as_new'
}}}
I'm marking this one as needing improvement.
--
Ticket URL: <http://code.djangoproject.com/ticket/13223#comment:10>
Django <https://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.