Package: django-admin-black
Django Admin BlackModern template forDjangothat coversAdmin Section, all authentication pages (registration included) crafted on top ofBlack Dashboard, an open-sourceBootstrap 5design fromCreative-Tim.Actively supported byAppSeedviaEmailandDiscord.Links & ResourcesDjango Black Dashboard-Productthat uses the libraryFeatures: Fully-configured,CI/CDvia RenderUI Kit:Black Dashboardfree versionby Creative-TimSections Covered:Admin Section, reserved forsuperusersAll pagesmanaged byDjango.contrib.AUTHRegistrationpageMisc pages: colors, icons, typography, blank-pageWhyDjango Black DesignModernBootstrapDesignResponsive InterfaceMinimal TemplateoverridingEasy integrationHow to use itInstall the packageviaPIP$pipinstalldjango-admin-black
//OR
$pipinstallgit+https://github.com/app-generator/django-admin-black.gitAddadmin_blackapplication to theINSTALLED_APPSsetting of your Django projectsettings.pyfile (note it should be beforedjango.contrib.admin):INSTALLED_APPS=(...'admin_black.apps.AdminBlackConfig','django.contrib.admin',)Addadmin_blackurls in your Django Projecturls.pyfile.fromdjango.urlsimportpath,includeurlpatterns=[...path('',include('admin_black.urls')),]Collect staticif you are inproduction environment:$pythonmanage.pycollectstaticStart the app$# Set up the database$pythonmanage.pymakemigrations
$pythonmanage.pymigrate
$
$# Create the superuser$pythonmanage.pycreatesuperuser
$
$# Start the application (development mode)$pythonmanage.pyrunserver# default port 8000Access theadminsection in the browser:http://127.0.0.1:8000/How to CustomizeWhen a template file is loaded in the controller,Djangoscans all template directories starting from the ones defined by the user, and returns the first match or an error in case the template is not found.
The  theme used to style this starter provides the following files:# This exists in ENV: LIB/admin_black<UI_LIBRARY_ROOT>||--templates/# Root Templates Folder||||--accounts/|||--auth-signin.html# Sign IN Page|||--auth-signup.html# Sign UP Page||||--includes/|||--footer.html# Footer component|||--sidebar.html# Sidebar component|||--navigation.html# Navigation Bar|||--scripts.html# Scripts Component||||--layouts/|||--base.html# Masterpage||||--pages/||--dashboard.html# Dashboard page||--user.html# Settings  Page||--*.html# All other pages||--************************************************************************When the project requires customization, we need to copy the original file that needs an update (from the virtual environment) and place it in the template folder using the same path.For instance, if we want to customize thedashboard.htmlthese are the steps:Step 1: create thetemplatesDIRECTORY inside your appStep 2: configure the project to use this new template directoryEditsettings.pyTEMPLATES sectionStep 3: copy thedashboard.htmlfrom the original location (inside your ENV) and save it to theYOUR_APP/templatesDIRSource PATH:<YOUR_ENV>/LIB/admin_black/pages/dashboard.htmlDestination PATH:YOUR_APP/templates/pages/dashboard.htmlEdit the footer (Destination PATH)At this point, the default version of thedashboard.htmlshipped in the library is ignored by Django.In a similar way, all other files and components can be customized easily.Recompile SCSSThe SCSS/CSS files used to style the Ui are saved in theadmin_black/static/assetsdirectory.
In order to update the Ui colors (primary, secondary) this procedure needs to be followed.$yarn# install modules$# # edit variables$vistatic/assets/scss/black-dashboard/custom/_variables.scss$gulp# SCSS to CSS translationThe_variables.scsscontent defines theprimaryandsecondarycolors:$default:#344675!default;// EDIT for customization$primary:#e14eca!default;// EDIT for customization$secondary:#f4f5f7!default;// EDIT for customization$success:#00f2c3!default;// EDIT for customization$info:#1d8cf8!default;// EDIT for customization$warning:#ff8d72!default;// EDIT for customization$danger:#fd5d93!default;// EDIT for customization$black:#222a42!default;// EDIT for customizationPRO VersionThis design is a pixel-perfectBootstrapDashboard with a fresh, new design.
Black is a completly new product built on our newest re-built from scratch framework structure that is meant to make our products more intuitive, more adaptive and, needless to say, so much easier to customize.Features:Up-to-date DependenciesDesign: Django Theme Black -PRO VersionSectionscovered by the design:Admin section(reserved for superusers)Authentication:Django.contrib.AUTH, RegistrationAll Pagesavailable in for ordinary usersDocker,Deployment:CI/CDflow viaRenderDjango Admin Black- Modern Admin Interface provided byAppSeed