forked from ungleich-public/dynamicweb
fix aldryn_newsblog
This commit is contained in:
parent
2bfbb9c927
commit
b43ca2982d
12 changed files with 67 additions and 39 deletions
|
|
@ -1353,3 +1353,11 @@ class PlaceholderAdmin(BaseEditableAdminMixin, admin.ModelAdmin):
|
|||
}
|
||||
request.current_app = self.admin_site.name
|
||||
return TemplateResponse(request, "admin/cms/page/plugin/delete_confirmation.html", context)
|
||||
|
||||
|
||||
class PlaceholderAdminMixin:
|
||||
"""
|
||||
Compatibility shim for older third-party packages such as
|
||||
aldryn-newsblog.
|
||||
"""
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue