#16327: "save as new" redirects to list view instead of newly-created item -------------------------------------+------------------------------------- Reporter: candlerb | Owner: nobody Type: | Status: new Uncategorized | Component: contrib.admin Milestone: | Severity: Normal Version: 1.3 | Keywords: saveasnew Resolution: | Has patch: 1 Triage Stage: Design | Needs tests: 0 decision needed | Easy pickings: 0 Needs documentation: 0 | Patch needs improvement: 0 | UI/UX: 0 | -------------------------------------+------------------------------------- Changes (by ramiro):
* needs_better_patch: => 0 * stage: Unreviewed => Design decision needed * type: Bug => Uncategorized * needs_tests: => 0 * needs_docs: => 0 Comment: tl;dr: We need to decide if after clicking the 'Save as new' in a model change view the user should be taken to the changelist like we are doing or to the change view of the model instance just cloned as the OP proposes. The behavior of redirecting to the model changelist (or the admin app index page) has been so since newforms admin was merged back in r8273 (with later fixups like the ones in #10448/r10713). And yes, AFAICT the [https://code.djangoproject.com/browser/django/trunk/django/contrib/admin/options.py?rev=16422#L786 code block] in `ModelAdmin.response_change()` that supposedly handles this has been dead code since its introduction in r8273. See also #8001. -- Ticket URL: <https://code.djangoproject.com/ticket/16327#comment:1> 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.