Fixed #27313 -- Allowed overriding admin popup response template.

This commit is contained in:
Michael Scott 2016-11-12 19:09:15 +00:00 committed by Tim Graham
parent fb1349ce8c
commit 1e629928e9
6 changed files with 80 additions and 6 deletions

View file

@ -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(