djangocms-admin-style icon indicating copy to clipboard operation
djangocms-admin-style copied to clipboard

Django 3.1+ sidebar issues in django CMS modals

Open yakky opened this issue 4 years ago • 1 comments

Django 3.1 sidebar is visible in most django cms modals (the one generated by the toolbars)

See examples below:

Screenshot_20201221_123448

yakky avatar Dec 21 '20 11:12 yakky

I know this is not a direct solution but I've disabled the new app sidebar throughout my admin site via the following nippet:

from django.contrib.admin import AdminSite

class CNKAdminSite(AdminSite):
    site_header = 'Site administration'
    enable_nav_sidebar = False

admin_site = CNKAdminSite(name='cnkadmin')

Perhaps would be helpful to anyone who stumbles upon this.

petrklus avatar Apr 06 '22 09:04 petrklus