You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,10 +51,11 @@
51
51
52
52
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.`
53
53
54
-
4. **Add the template function to your Jinja environment**
54
+
### Jinja2
55
55
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**
0 commit comments