Star Admin

Modern template for Django Admin Interface coded on top of Star Admin, the iconic dashboard template - Design provided as a PyPi Library.

Star Admin -Open-Source PyPi Library for Django
Star Admin -Open-Source PyPi Library for Django

Hello! This article presents Django Admin Star, the PyPi integration of this iconic design for Django. The latest stable version is provided by Star Admin maintainers, including Dark Mode (sidebar), widgets, charts, and authentication pages. The product can be used in any Django project (new or legacy) that needs a modern design with Star Admin design DNA. Thanks for reading!

Star Admin - Mobile View
Star Admin - Mobile View

✨ What's in the box

This library can be installed and used with minimum effort and configuration. Once installed, the design covers the following:

  • ✅ Admin Section reserved for Django superusers
  • ✅ All Django.contrib.AUTH pages + Registration
  • ✅ Pages for common users: Dashboard, Widgets, Forms

For those in a rush, this video material explains how to start fast with this library using the playground project.

Django Star Admin - Open-Source PyPi Library

✨ How to use it

As mentioned before, the library can be used in a new Django project or for legacy projects that need a small UI boost in order to look better. In the following section, I will mention the installation steps as listed on the official PyPi Page.

👉 Step #1 - Install the library
$ pip install django-admin-star
👉 Step #2 - Update the INSTALLED_APPS section of the project
        'admin_star.apps.AdminStarConfig',  # <-- NEW

Make sure the StarAdmin line is above django.contrib.admin in order to overwrite the Django defaults.

👉 Step #3 - Update project routing to include the theme URLs
    from django.urls import path, include

    urlpatterns = [
        path('', include('admin_star.urls')),  # <-- NEW
👉 Step #4 - Migrate & start the project
$ # Set up the database
$ python makemigrations
$ python migrate
$ # Create the superuser
$ python createsuperuser
$ # Start the application (development mode)
$ python runserver # default port 8000

At this point, the Star Admin styling should cover all sections: authentication, the admin section reserved for superusers, and pages for common users.

Star Admin - Charts page
Star Admin - Charts page

Star Admin Django - UI Elements page
Star Admin - UI Elements page
Star Admin - UI Elements page

✨ Star Admin Playground project

For those without much time or patience to manually configure the project, a playground app is also available with all the above steps already crafted.

👉 Django Admin Star - playground project
Star Admin - Playground Starter
Star Admin - Playground Starter

Thanks for reading! For more resources, please access:
  • 🚀 Free support provided by AppSeed (email & Discord)
  • 👉 More free apps crafted in Flask, Django, and React