mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #27313 -- Allowed overriding admin popup response template.
This commit is contained in:
committed by
Tim Graham
parent
fb1349ce8c
commit
1e629928e9
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user