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
- ALL
UI KIT
pages available
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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2808b97de89db5c82baa372e3177defd7e475bb2fe8f1934ead58601feb3336 |
|
MD5 | 4fb2e10c091eeba0e7dc973bc9e18bbb |
|
BLAKE2b-256 | d1be3782f0d59ba61a5c1f008ce31997883f8868d0c39f64017e6ace576decc6 |