#16327: "save as new" redirects to list view instead of newly-created item
-------------------------------+-------------------------------------------
     Reporter:  candlerb       |                    Owner:  giuliettamasina
         Type:  Bug            |                   Status:  assigned
    Component:  contrib.admin  |                  Version:  1.3
     Severity:  Normal         |               Resolution:
     Keywords:  saveasnew      |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  1
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+-------------------------------------------

Comment (by giuliettamasina):

 During work with tests for this, I've discovered that a side-effect from
 this change is that a user needs both the add and change permissions to be
 able to use the "Save as new" button, as opposed to only needing the add
 permission before. (It causes tests to fail currently.)

 What do we think about that?

 One way would be to redirect to the change page if the user has change
 permissions, otherwise redirect to the list view, i.e. the previous
 behavior.

--
Ticket URL: <https://code.djangoproject.com/ticket/16327#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.f13221954f6ffc35ccc048853f6545c5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to