Skip to main content

django-eadmin

django-eadmin is a reusable, server-rendered Django administration interface using Tailwind CSS, DaisyUI, HTMX, and Alpine.js. It retains Django's built-in authentication, model permissions, forms, and audit-log semantics.

Requirements

  • Python 3.10+
  • Django 5.1 or 5.2
  • Django's admin, auth, contenttypes, sessions, messages, and staticfiles applications

Install

python -m pip install django-eadmin

Add EAdmin before applications that register models:

INSTALLED_APPS = [
    "eadmin",
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.messages",
    "django.contrib.staticfiles",
    "articles",  # Contains articles/eadmin.py.
]

Run the standard Django setup commands:

python manage.py migrate
python manage.py createsuperuser

Routes

EAdmin follows Django Admin's familiar public API:

from django.urls import path
from eadmin import admin

urlpatterns = [
    path("admin/", admin.site.urls),
]

If native Django Admin must remain available, mount the two sites on different prefixes:

from django.contrib import admin as django_admin
from django.urls import path
from eadmin import admin as eadmin_admin

urlpatterns = [
    path("admin/", eadmin_admin.site.urls),
    path("django-admin/", django_admin.site.urls),
]

Register models

Create an eadmin.py beside models.py in an installed application:

from eadmin import admin
from eadmin.registry import ModelAdmin
from .models import Article

admin.site.register(Article, ModelAdmin(
    list_display=("title", "state", "updated_at"),
    list_filter=("state",),
    search_fields=("title",),
    fields=("title", "state", "body", "tags"),
))

EAdmin autodiscovers each installed application's eadmin.py at Django startup. It supports list columns, filtering, search, ordering, readonly fields, fieldsets, relationship widgets, actions, inlines, and custom model views.

Permissions

EAdmin never grants access through its configuration. Users must be active, staff, and have Django's standard view, add, change, or delete model permissions. Superusers retain normal Django access. These checks apply to menus, lists, forms, object actions, bulk actions, and inline formsets.

Bundled browser dependencies

All browser assets are included in the installed package; EAdmin makes no runtime CDN requests.

Dependency Version
Tailwind CSS Play CDN 3.4.17
DaisyUI 4.12.24
HTMX 2.0.4
Alpine.js 3.17.4

See the source repository for source code and issue tracking.

Metadata

Release files for django-eadmin 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-eadmin 0.0.1
File Size Uploaded
django_eadmin-0.0.1.tar.gz 371.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-eadmin 0.0.1
File Interpreter ABI Platform
django_eadmin-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 779.6 kB

Release files / django_eadmin-0.0.1.tar.gz

Download URL django_eadmin-0.0.1.tar.gz
Size 371.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aad29594e4d6a8e1488db09199108af8e99b81c40bf891e434a93a33b80a4af5
BLAKE2b-256 checksum
How to use checksums
ec3ac7073b5dbf74b109460db8eba42ab751fe7c13dd689073beb98d8a5ae05f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / django_eadmin-0.0.1-py3-none-any.whl

Download URL django_eadmin-0.0.1-py3-none-any.whl
Size 407.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d79bb7e0c76d30364a140090f6f62bda56013b3c9c074d567ca1458d4eedbeb3
BLAKE2b-256 checksum
How to use checksums
a9ad0cab62b45cdd29f7c24e620e42a7210e696d3353325c2c33b40fc2dab95b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page