$npx skillfedfor your agent

django-admin-env-notice

Visually distinguish environments in Django Admin

With conditionsPyPI Dynamic ContentReleased Oct 2024125.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_admin_env_notice-1.0.1-py2.py3-none-any.whl
v1.0.1 · released 2024-10-19

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—mistaking 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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django 1.9+ and Python 2.7 or 3.4+; must be added to INSTALLED_APPS before django.contrib.admin and requires a context processor in TEMPLATES configuration.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Maintenance is aging—last commit was 2026-01-22 and the package went 664 days between releases, though the repo remains active and unarchived.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute the package freely with minimal restrictions.

last release 2024-10-19 (664 days) · last repo commit 2026-01-22 · 344 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 124,969 downloads/mo, #11,844 on PyPI

Verify before relying

pip install django-admin-env-notice

# In settings.py INSTALLED_APPS (before django.contrib.admin):
INSTALLED_APPS = [
    'django_admin_env_notice',
    'django.contrib.admin',
]

# Add context processor and set environment:
ENVIRONMENT_NAME = "Production"
ENVIRONMENT_COLOR = "#FF2222"
  • Whether the package works with modern Django versions (3.2+, 4.0+) despite the oldest classifier being Django 1.9.
  • Current test coverage and whether tox tests still pass on all listed Python versions.
Same gist for agents: .md · .json

What it is and 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—ENVIRONMENT_NAME and ENVIRONMENT_COLOR—to define what label and color the banner should display.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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—mistaking 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.

Install

django-admin-env-notice on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Maintenance is aging—last commit was 2026-01-22 and the package went 664 days between releases, though the repo remains active and unarchived.

Requires Django 1.9+ and Python 2.7 or 3.4+; must be added to INSTALLED_APPS before django.contrib.admin and requires a context processor in TEMPLATES configuration.

License in practice

MIT license (permissive) means you can use, modify, and distribute the package freely with minimal restrictions.

Quickstart

pip install django-admin-env-notice

# In settings.py INSTALLED_APPS (before django.contrib.admin):
INSTALLED_APPS = [
    'django_admin_env_notice',
    'django.contrib.admin',
]

# Add context processor and set environment:
ENVIRONMENT_NAME = "Production"
ENVIRONMENT_COLOR = "#FF2222"

Verify before relying

  • Whether the package works with modern Django versions (3.2+, 4.0+) despite the oldest classifier being Django 1.9.
  • Current test coverage and whether tox tests still pass on all listed Python versions.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 664 days since the last release
Last repo commit
First released
Downloads124,969 / month, #11,844 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: django_admin_env_notice-1.0.1-py2.py3-none-any.whl

Tags

Capabilities
django admin environment bannerdistinguish django admin environmentsvisual environment warning djangoproduction staging admin labeldjango admin safety noticeenvironment color banner djangoprevent wrong environment admin
Topics
django-adminenvironment-safetyui-enhancement
PyPI keywords
django-admin-env-notice

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django admin environment banner”

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also djangocms-admin-style · django-better-admin-arrayfield · django-unfold · django-colorfield · django-adminplus · django-grappelli · django-flags · wagtail-modeladmin · django-admin-interface · django-object-actions