A boilerplate for Django admin dashboards
Project description
Django Admin Boilerplate
🚀 A simple boilerplate for Django admin dashboards with theme settings, user management, and database model overview.
Features
- 📊 Admin dashboard with dynamic database stats.
- 🎨 User-based theme selection.
- 🔄 Easy integration into existing Django projects.
- 📈 User analytics visualization.
📦 Installation
-
Install via pip (run this command from your Django project root):
pip install django-admin-boilerplate
-
Add to
INSTALLED_APPSin your Django project:INSTALLED_APPS = [ "django_admin_boilerplate", "django.contrib.admin", "django.contrib.auth", ... ]
-
🔗 Add URLs to
urls.pyModify your project'surls.pyto include the admin dashboard:from django.urls import path, include urlpatterns = [ path("admin-dashboard/", include("django_admin_boilerplate.urls")), ]
🛠️ Usage
-
Run migrations:
python manage.py migrate
-
Create a superuser if needed:
python manage.py createsuperuser
-
Install the boilerplate (this moves
django_admin_boilerplateto your Django root folder for customization):python manage.py install_boilerplate
-
Start the Django server:
python manage.py runserver
-
Access the admin dashboard at:
http://127.0.0.1:8000/admin-dashboard/
🎨 Customization
Once the boilerplate is installed, you are free to customize:
views.pyfor custom admin logic.templates/for styling and UI updates.static/for custom CSS, JavaScript, or images.
📂 Expected File Structure
Your_Django_Project/
├── manage.py
├── sqldb/
├── djangoadminboilerplate/ # Installed boilerplate folder
│ ├── views.py
│ ├── templates/
│ ├── static/
│ ├── urls.py
│ ├── ...
📸 Screenshot (Project Root)
🚀 TODO / Contribution Ideas
- Enhance UI: Improve default admin panel styling and layout.
- Add User Roles: Implement granular user role management for dashboard access.
📜 License
This project is licensed under the MIT License.
🤝 Contributing
Contributions are welcome! Feel free to submit a pull request or open an issue.
📧 Contact
For questions or support, reach out via GitHub Issues.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_admin_boilerplate-0.1.5.tar.gz.
File metadata
- Download URL: django_admin_boilerplate-0.1.5.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7be34a8c4bbaf7bba12d400f86dd238ae1390780e296d64c4329944accd48b94
|
|
| MD5 |
949ecca3d766e60138615503c525c04b
|
|
| BLAKE2b-256 |
7846792c09bc7a9ef3be31e11886f327f28e391901f8d9a4b1ed600300d5fe74
|
File details
Details for the file django_admin_boilerplate-0.1.5-py3-none-any.whl.
File metadata
- Download URL: django_admin_boilerplate-0.1.5-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c3e5f278ece0e77503f2beebda4efcf212bb447680f24ab0ee16f09c28c7861
|
|
| MD5 |
4427ab79c9f5769c3081367ebfb5e09e
|
|
| BLAKE2b-256 |
e7b0ae8b3b83eb2738172bc367e17556d984205a4025327574702be4b779b504
|