Skip to main content

Complete solution for theming your django site.

Project description

Django Theming

PyPI Travis Codecov Supported Python versions License

The Django Theming is a standalone theming solution for django sites. You can use it customize the look and feel of any of your django site.


Django theming provides a way for django sites owners to customize the look and feel of django sites without having to alter the code of the base site.


Install using pip:

pip install djangotheming


Add 'theming' to your INSTALLED_APPS.


Add 'django.contrib.sites.middleware.CurrentSiteMiddleware', 'theming.middleware.CurrentRequestMiddleware' and 'theming.middleware.CurrentThemeMiddleware' to your MIDDLEWARE

Add theming.template.loaders.theme.Loader to your 'TEMPLATES['OPTIONS']['loaders']'

        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [os.path.join(BASE_DIR, 'templates')]
        'APP_DIRS': False,
        'OPTIONS': {
            'loaders': [
            'context_processors': [



Add 'theming.static.finders.ThemeFilesFinder' to your 'STATICFILES_FINDERS'



Finally, Set the 'THEMING' setting to something like.

 #  Theming settings.

   'ENABLED': True,
   'DEFAULT': '<theme-name>',
   'DIRS': [





The code in this repository is licensed under the GNU GENERAL PUBLIC LICENSE Version 3 unless otherwise noted.

Please see LICENSE for details.

How To Contribute

Contributions are very welcome.

I will add info on how to contribute soon.

Reporting Security Issues

Please do not report security issues in public. Please email

Change Log

[0.1.0] - 2016-10-13

  • First release on PyPI.
  • Models and Django admin integration

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

djangotheming-2.0.1.tar.gz (11.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page