Modern template for Django (Material Kit)
Project description
Django Theme Material Kit
Modern template for Django coded on top of Material Kit, an open-source Boostrap 5
design from Creative-Tim
.
Links & Resources
- UI Kit: Material Design BS5
v3.0.3
by Creative-Tim - Django Theme MKit -
playground project
Why Django Material Kit
- Modern
Bootstrap 5
Design Responsive Interface
Minimal Template
overridingEasy integration
How to use it
Install the package via
PIP
$ pip install django-theme-material-kit
// OR
$ pip install git+https://github.com/app-generator/django-theme-material-kit.git
Add
theme_material_kit
application to theINSTALLED_APPS
setting of your Django projectsettings.py
file (note it should be beforedjango.contrib.admin
):
INSTALLED_APPS = [
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
'theme_material_kit', # <-- NEW
]
Update project
settings.py
file to include (at the end of the file):
LOGIN_REDIRECT_URL = '/'
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
Add
theme_material_kit
urls in your Django Projecturls.py
file.
from django.urls import path, include # <-- UPD with 'include' directive
urlpatterns = [
...
path('', include('theme_material_kit.urls')), # <-- NEW
]
Collect static if you are in
production environment
:
$ python manage.py collectstatic
Start the app
$ # Set up the database
$ python manage.py makemigrations
$ python manage.py migrate
$
$ # Create the superuser
$ python manage.py createsuperuser
$
$ # Start the application (development mode)
$ python manage.py runserver # default port 8000
How to use the theme
Ordinary users set up
Screenshots
@todo
Django Admin Material - Modern Admin Interface provided by AppSeed
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-theme-material-kit-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42a9ce79bf81541025af47e8c7be47332713b0c530c08bbc9d3a20b1e4678f69 |
|
MD5 | f5ae7a01e56fcfffc624cdb285d6ef3b |
|
BLAKE2b-256 | 704c676ba27df4cfcccbef4bd728840dc421279a53e6c597aed203fa4fa3e774 |