Skip to content

Commit ba0c3d5

Browse files
tweak Jinja2 getting started section in README
1 parent 8030b55 commit ba0c3d5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@
5151
5252
If you do not add `django.contrib.auth` to your `INSTALLED_APPS` and you define any permissions for your navigation items, `django-simple-nav` will simply ignore the permissions and render all items regardless of whether the permission check is `True` or `False.`
5353
54-
4. **Add the template function to your Jinja environment**
54+
### Jinja2
5555
56-
If you want to use Jinja 2 templates you will need to add the `django_simple_nav` function to your Jinja environment.
57-
Example:
56+
`django-simple-nav` can be used with the `django.template.backends.jinja2.Jinja2` template engine backend.
57+
58+
1. **Add the template function to your Jinja environment**
5859
5960
```python
6061
from jinja2 import Environment

0 commit comments

Comments
 (0)