Changes between Initial Version and Version 1 of Ticket #16327, comment 1
- Timestamp:
- Jun 23, 2011, 4:18:02 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16327, comment 1
initial v1 1 1 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. 2 2 3 The behavior of redirecting to the model changelist (or the admin app index page) has been so since newforms admin was merged back in r 8273(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.3 The behavior of redirecting to the model changelist (or the admin app index page) has been so since newforms admin was merged back in r7967 (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. 4 4 5 5 See also #8001.