How jianfeihua21cn/django-adminlte3 works
Project type and purpose
• This is a reusable Django package providing AdminLTE3 templates, template tags, and an optional admin theme. It consists of two primary Django apps—“adminlte3” (general templates & tags) and “adminlte3_theme” (overrides for Django’s built‑in admin)—plus a minimal “django_adminlte3” demo project and Sphinx docs.
File structure
• Top‑level directories and files:
• django_adminlte3/: a demo Django project (asgi.py, wsgi.py, settings.py, urls.py)
• adminlte3/: the core app containing:
– templatetags (helpers)
– templates/adminlte (base.html, components, pages)
– static/admin-lte (all CSS/JS/plugins)
– views.py, models.py
• adminlte3_theme/: optional app injecting CSS/JS overrides into Django’s admin (static/admin, templates/admin, templatetags/admin_menu)
• docs/: Sphinx documentation
• manage.py, setup.py, package.json
• Configuration files: setup.py (package metadata), MANIFEST.in, .gitignore, .github/workflows, docs/conf.py
README for additional insights
• Purpose: supply base templates & tags for AdminLTE3, optional admin UI styling
• Usage pattern:
– Install via pip
– Add “adminlte3” (+ “adminlte3_theme” if using admin theme) to INSTALLED_APPS
– Run collectstatic to gather static assets