Skip to main content

Django Template Theming

https://travis-ci.org/wtayyeb/django-template-theming.svg?branch=master

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

Metadata

Release files for django-template-theming 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for django-template-theming 0.8.2
File Interpreter ABI Platform
django_template_theming-0.8.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / django_template_theming-0.8.2-py2.py3-none-any.whl

Download URL django_template_theming-0.8.2-py2.py3-none-any.whl
Size 12.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3b65ac66bed8156c3bb3b20399d59e94b91896175a2f141cd17c5e6c24486321
BLAKE2b-256 checksum
How to use checksums
1121c1e53a5019adcb8524c8001206a0c178c71a8d68a9da1d54c02e5b2386c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-template-theming 0.8.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page