Skip to main content

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


Material Kit - Starter generated by AppSeed.


Why Django Material Kit

  • Modern Bootstrap 5 Design
  • Responsive Interface
  • Minimal Template overriding
  • Easy 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 the INSTALLED_APPS setting of your Django project settings.py file (note it should be before django.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 Project urls.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

Screenshots

Django Theme Material Kit - Cover

Django Theme Material Kit - Cover


Django Theme Material Kit - Author page

Django Theme Material Kit - Author


Django Theme Material Kit - Team Component

Django Theme Material Kit - Team Component



Django Theme Material Kit - Modern Theme provided by AppSeed

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-theme-material-kit-1.0.8.tar.gz (6.8 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page