Django Admin Interface

0.32.0 · active · verified Thu Apr 16

django-admin-interface is a Python package that provides a modern, responsive, and highly customizable administration interface for Django projects. It enhances the default Django admin with features like theme management, popup windows replaced by modals, sticky changelist actions, and improved styling. The current version is 0.32.0, and it maintains an active release cadence with regular updates for new Django and Python versions.

Common errors

Warnings

Install

Imports

Quickstart

Install the package, add `admin_interface` and `colorfield` to your `INSTALLED_APPS` (crucially, before `django.contrib.admin`), configure `X_FRAME_OPTIONS`, and run migrations and collectstatic to apply the changes.

import os

# Assuming you have a basic Django project setup
# settings.py
# Add to INSTALLED_APPS, ensuring order is correct:
INSTALLED_APPS = [
    'admin_interface',
    'colorfield',
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    # Your other apps
]

# Add X_FRAME_OPTIONS for modal functionality
X_FRAME_OPTIONS = 'SAMEORIGIN'

# Terminal commands (execute in your project's root directory):
# pip install django-admin-interface
# python manage.py migrate
# python manage.py collectstatic --clear --noinput
# python manage.py createsuperuser # if you don't have an admin user
# python manage.py runserver

# Then navigate to http://127.0.0.1:8000/admin/

view raw JSON →