Registry /
web-framework / django-admin-env-notice
Install & Compatibility
Where this runs
tested against v1.0.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
get_version
✓ from django_admin_env_notice import get_version
✗ from django.conf import settings
Add 'admin_env_notice' to INSTALLED_APPS and set ENV_NOTICE_SETTINGS in settings.py.
# Install: pip install django-admin-env-notice
# settings.py
INSTALLED_APPS = [
...
'admin_env_notice',
]
ENV_NOTICE_SETTINGS = {
'ENVIRONMENT_NAME': os.environ.get('ENVIRONMENT_NAME', 'Development'),
'ENVIRONMENT_COLOR': os.environ.get('ENVIRONMENT_COLOR', '#808080'),
}
Upgrade
Version history
1.0.1latest on PyPI · released Oct 19, 2024
Audit
Dependencies
djangorequiredRequires Django's admin contrib app