mirror of
https://github.com/django/django.git
synced 2025-09-18 16:30:01 +00:00
Fixed #16327 -- Redirected "Save as new" to change view instead of the changelist.
This commit is contained in:
parent
cb65e62c84
commit
08cd6a0e56
5 changed files with 48 additions and 2 deletions
|
@ -1013,6 +1013,7 @@ site2.register(
|
|||
list_editable=['parent'],
|
||||
raw_id_fields=['parent'],
|
||||
)
|
||||
site2.register(Person, save_as_continue=False)
|
||||
|
||||
site7 = admin.AdminSite(name="admin7")
|
||||
site7.register(Article, ArticleAdmin2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue