context extra data
Project description
Installation
$ [sudo] pip install django-context-extra-view
Examples
from django_context_extra_view.views import ContextExtraViewMixin
class View(ContextExtraViewMixin,...):
context_extra = {"my_page":{"active":True}}
{% if my_page.active %}...{% endif %}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-context-extra-view-2020.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7973b1e202ec767b7d5f91ade10d6a53f840f892f68b1b4be46f0e17c923965f |
|
MD5 | 0388cc21b6752e1102e536ae5ced1fee |
|
BLAKE2b-256 | 53750f297e0a5902385648f9b4b56ac705d7e04e40f1a8200f85288ed0f27e51 |