No project description provided
Project description
allauth-jinja
The complete set of django-allauth templates rewritten in jinja.
Installation & Usage
[not published yet]
Add allauth_jinja to your installed apps above allauth, e.g.
INSTALLED_APPS = [
...
allauth_jinja,
allauth,
...
]
In your templates settings for jinja you must have at least the following
{
"APP_DIRS": True,
"OPTIONS": {
"match_extension": None,
"app_dirname": "jinja2",
"undefined": "jinja2.Undefined",
"context_processors": [
"django.template.context_processors.request",
"django.contrib.messages.context_processors.messages",
...
],
"globals": {
...,
"user_display": "allauth_jinja.account.templatetags.account.user_display",
...
}
}
}
Depending on what templates you use you'll need to add the relevant global functions.
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
allauth_jinja-0.0.3.tar.gz
(11.0 kB
view hashes)
Built Distribution
Close
Hashes for allauth_jinja-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1bcf95cad7cf3553251d0879798df37df3132e9bb98f5f9136f46e6a9f31f75 |
|
MD5 | faae0d39b7becfc2cde3c34d4734a4a0 |
|
BLAKE2b-256 | 5d3af66337d23b219ace0634933c935ff423de7cb57c6acfa7d84aad33afaa6e |