Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django application, implement theming concept, flexible and configurable.

Project Description

Django application, implement theming concept for templates, flexible and configurable from admin interface.

Installation

You can install the most recent Django Template Theming version using pip:

pip install django-template-theming

Setup

NOTE: The following settings should be added to the project file settings.py.

  1. Add ‘theming’ to INSTALLED_APPS:

    INSTALLED_APPS += ( 'theming', )
    
    if using django-compressor make sure put theming before compressor
    
  2. Add ‘theming.middleware.ThemingMiddleware’ to MIDDLEWARE_CLASSES:

    MIDDLEWARE_CLASSES += ( 'theming.middleware.ThemingMiddleware', )
    
  3. Add ‘theming.template.Loader’ to TEMPLATE_LOADERS:

    TEMPLATE_LOADERS += ( 'theming.template.Loader', )
    

Usage

It should create a folder themes at the project with the following structure:

django_project/
| -- themes/
    | -- default/  ** theme name
        | -- static/  ** will collected by `collectstatic` management command
        |   | -- styles/
        |   | -- scripts/
        |   | -- images/
        | -- templatefiles and folders

Contributing

Development of django-template-theming happens at github and any idea and contribution is wellcome. https://github.com/wtayyeb/django-template-theming

Credits

Release History

Release History

This version
History Node

0.8.2

History Node

0.8.1

History Node

0.8.0

History Node

0.7.10

History Node

0.7.9

History Node

0.7.8

History Node

0.7.7

History Node

0.7.6

History Node

0.7.5

History Node

0.7.4

History Node

0.7.1b0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_template_theming-0.8.2-py2.py3-none-any.whl (12.6 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Aug 31, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting