#5681: Save as new disappears on failed validation
-------------------------------------------+--------------------------------
          Reporter:  Uninen                |         Owner:  nobody     
            Status:  new                   |     Milestone:             
         Component:  django.contrib.admin  |       Version:  SVN        
        Resolution:                        |      Keywords:  admin, save
             Stage:  Accepted              |     Has_patch:  0          
        Needs_docs:  0                     |   Needs_tests:  0          
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by cornel):

 If after pressing the "Save as new" button the form is not valid, the user
 should be presented the same form. (the "edit" form instead of the "add"
 form), because as long as the form is not valid the instance should be the
 same. The
 [http://code.djangoproject.com/attachment/ticket/5681/patch5681-1.diff
 patch] I uploaded solves this issue.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5681#comment:2>
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 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