# 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.
Metadata
Release files for django-themes 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-themes-0.1.tar.gz | 4.1 kB | Details |
Release files / django-themes-0.1.tar.gz
| Download URL | django-themes-0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b85614564d41203a6905d2c1bb9d087a28fd83c9b268fc77b447a4eea87b38e5
|
|
BLAKE2b-256 checksum How to use checksums |
e746e445fcf5eff7fa0becdc2b4796e4acf6af3a341b6bbb1ce4668e5c0d6356
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |