semvec/pypi-packages huggingface dataset:
django-context-extra-view 2020.10.26
context extra data
License: Unlicense
Keywords: django view context

<!--
https://readme42.com
-->


[![](https://img.shields.io/pypi/v/django-context-extra-view.svg?maxAge=3600)](https://pypi.org/project/django-context-extra-view/)
[![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)

### Installation
```bash
$ [sudo] pip install django-context-extra-view
```

#### Examples
```python
from django_context_extra_view.views import ContextExtraMixin

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

```html
{% if my_page.active %}...{% endif %}
```

<p align="center">
    <a href="https://readme42.com/">readme42.com</a>
</p>