# Django Themes
#### Brandon R. Stoner <monokrome@monokro.me>
## What is this?
Django Themes provides a mechanism for theming media for your web applications. This is done by storing a Theme model that contains a name for your theme and it's related directory. You can then access the list of themes and the current theme through these custom context_processors:
### themes.context_processors.list
Gets the complete theme list and sets it to a context variable, theme_list
### themes.context_processors.current
Gets the current theme and sets it to a context variable, current_theme
## Future developments:
- Tie this system into the template system, so that themes can override other
templates if needed.
- Provide template tags that are functionally equivalent to the currently
provided context processors.
#### Brandon R. Stoner <monokrome@monokro.me>
## What is this?
Django Themes provides a mechanism for theming media for your web applications. This is done by storing a Theme model that contains a name for your theme and it's related directory. You can then access the list of themes and the current theme through these custom context_processors:
### themes.context_processors.list
Gets the complete theme list and sets it to a context variable, theme_list
### themes.context_processors.current
Gets the current theme and sets it to a context variable, current_theme
## Future developments:
- Tie this system into the template system, so that themes can override other
templates if needed.
- Provide template tags that are functionally equivalent to the currently
provided context processors.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-themes-0.1.tar.gz
(4.1 kB
view details)
File details
Details for the file django-themes-0.1.tar.gz.
File metadata
- Download URL: django-themes-0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b85614564d41203a6905d2c1bb9d087a28fd83c9b268fc77b447a4eea87b38e5
|
|
| MD5 |
64cbcb962fd15299f7292401ec455729
|
|
| BLAKE2b-256 |
e746e445fcf5eff7fa0becdc2b4796e4acf6af3a341b6bbb1ce4668e5c0d6356
|