Not working with Grappelli 3.0.2 and Django 3.2.12
shivam-sachit opened this issue · comments
- django-admin-env-notice version: 0.4
- Django version: 3.2.12
- Python version: 3.10.2
- Operating System: Manjaro
Description
Trying to get django-admin-env-notice to work with grappelli
The bar is not showing on the admin site
What I Did
ENVIRONMENT_NAME = 'Local'
ENVIRONMENT_COLOR = 'GREY'
Tried the following selectors and also without any selectors:
ENVIRONMENT_ADMIN_SELECTOR = "grp-header"
ENVIRONMENT_ADMIN_SELECTOR = ".grp-module-login:before, #grp-header"
ENVIRONMENT_FLOAT = True
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates/')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django_admin_env_notice.context_processors.from_settings',
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'django.template.context_processors.request',
],
},
},
]
django_admin_env_notice in INSTALLED_APPS above django.contrib.admin