#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:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
Changes (by candlerb):

 * ui_ux:   => 0


Comment:

 I have a related problem:

 * model admin has `save_as = True`
 * browse to existing model, click "Save as new"
 * the model fails to validate (e.g. because of a failed uniqueness
 constraint)
 * when the form is redisplayed with the error, I see "Save and add
 another" instead of "Save as new"

 This behaviour still remains after applying 13223.templatefix.diff (onto
 released django-1.3), although I've not tried any of the other patches in
 this thread.

 (Platform: python 2.6.5, Ubuntu 10.04.2 LTS)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13223#comment:14>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to