{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Adds a colored banner to Django Admin to visually label the current environment (e.g., production, staging) and help prevent accidental changes in the wrong environment.","skillfed_tags":["django-admin","environment-safety","ui-enhancement"],"use_cases":["Label production admin with a red banner to make it visually distinct from staging or development environments.","Prevent accidental data deletion or configuration changes by making the environment immediately obvious when logging into admin.","Customize banner appearance per environment (e.g., green for dev, yellow for staging, red for production) to reinforce environment awareness.","Hide the banner from unauthenticated users to avoid leaking environment information to unauthorized viewers.","Integrate with Django admin themes like Grappelli by adjusting the DOM selector the banner attaches to."],"what_it_does":"django-admin-env-notice is a small Django app that injects a colored banner into the Django Admin interface to label the current environment. It solves a critical safety problem: preventing accidental administrative actions (like deleting data) in production when you meant to act on staging or development. You configure it by adding the app to INSTALLED_APPS, registering its context processor, and setting two Django settings\u2014ENVIRONMENT_NAME and ENVIRONMENT_COLOR\u2014to define what label and color the banner should display.\n\nThe banner is fixed to the top of the admin interface by default but can be made to float instead. You can customize the text color, choose which DOM selector the banner attaches to (useful if you use admin themes like Grappelli), and optionally hide it from unauthenticated users. It has no runtime dependencies and installs as a pure Python wheel, making it lightweight to add to any Django project.","worth_installing":"Yes, if you run Django Admin in multiple environments. It is a low-friction, zero-dependency safety tool that directly addresses a real operational risk\u2014mistaking one environment for another in the admin interface. The aging maintenance status is not a blocker for a stable, focused package with no dependencies, but verify compatibility with your Django version before deploying."},"id":"django-admin-env-notice","links":{"html":"https://skillfed.io/packages/django-admin-env-notice","md":"https://skillfed.io/packages/django-admin-env-notice.md","pypi":"https://pypi.org/project/django-admin-env-notice/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-10-19","license_spdx":null,"license_treatment":"permissive","name":"django-admin-env-notice","python_support":"unspecified","summary":"Visually distinguish environments in Django Admin"},"popularity":{"monthly_downloads":124969,"position":11844,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.1"}
