mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
Fixed #27313 -- Allowed overriding admin popup response template.
This commit is contained in:
parent
fb1349ce8c
commit
1e629928e9
6 changed files with 80 additions and 6 deletions
|
@ -162,6 +162,7 @@ class CustomArticleAdmin(admin.ModelAdmin):
|
|||
object_history_template = 'custom_admin/object_history.html'
|
||||
delete_confirmation_template = 'custom_admin/delete_confirmation.html'
|
||||
delete_selected_confirmation_template = 'custom_admin/delete_selected_confirmation.html'
|
||||
popup_response_template = 'custom_admin/popup_response.html'
|
||||
|
||||
def changelist_view(self, request):
|
||||
return super(CustomArticleAdmin, self).changelist_view(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue