Customized Django admin panel with advanced UI and real-time system insights
- Custom admin site with modern design
- System information display (OS, Python version, Django version, database engine)
- SSL status indicator
- Custom CSS styling with dark theme
- Responsive design
- Full compatibility with default Django admin.site.register()
- Grid background pattern
- Modern UI components
pip install hs-django-admingit clone https://github.com/Swe-HimelRana/hs-django-admin.git
cd hs-django-admin
pip install -e .- Add
'hs_django_admin'to yourINSTALLED_APPSinsettings.py:
INSTALLED_APPS = [
'hs_django_admin', # it must be at top
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# ... your other apps
]- Update your main
urls.py:
from django.urls import path
from hs_django_admin.admin import hs_admin
urlpatterns = [
path('admin/', hs_admin.urls),
# ... your other URL patterns
]- Run migrations and collect static files:
python manage.py migrate
python manage.py collectstatic- Start your development server:
python manage.py runserver- Visit
http://localhost:8000/admin/to see your custom admin interface!
The package is fully compatible with Django's default admin registration:
# your_app/admin.py
from django.contrib import admin
from .models import Product
# This automatically works with the custom admin site!
admin.site.register(Product)For more advanced usage, see the full documentation.
- Python 3.8+
- Django 5.2+
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
If you encounter any issues or have questions, please open an issue on GitHub.
