How newpanjing/simpleui works
Project type and purpose
• This is an open-source Django application package (a “Django app” or plugin) whose sole purpose is to skin and enhance the built-in Django Admin interface. It replaces or extends default templates with Element-UI + Vue components, ships its own static asset tree (JS/CSS/fonts), and exposes custom template tags for configuration.
File structure
• Top-level artifacts:
• setup.py / requirements.txt → Python packaging
• simpleui/ → the Django app
• .github/, LICENSE, README.md → repository metadata
• simpleui/ directories:
• admin.py, apps.py → Django app registration and extension points
• templatetags/ → custom template tags for injecting menus, scripts, theme logic
• templates/admin/… → overrides for every Django Admin template (login, list, change_form, etc.)
• static/admin/simpleui-x/… → Element-UI assets (JS/CSS/theme files, locales, fonts, particles)
• locale/… → translation files for generated UI strings
README for additional insights
• Confirms it’s a drop-in replacement: “pip install django-simpleui; add ‘simpleui’ as the first item in INSTALLED_APPS.”
• Describes that >90% of the Django Admin pages are rewritten using Vue + Element-UI.
• Mentions static asset collection (collectstatic) and i18n.