Skip to main content

context extra data

Project description

Installation

$ [sudo] pip install django-context-extra-view

Examples

from django_context_extra_view.views import ContextExtraMixin

class View(ContextExtraMixin,...):
    context_extra = {"my_page":{"active":True}}
{% if my_page.active %}...{% endif %}

readme42.com

Project details


Download files

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

Source Distribution

django-context-extra-view-2020.10.26.tar.gz (1.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page