Skip to main content

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


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)

Uploaded Source

Built Distribution

allauth_jinja-0.0.3-py3-none-any.whl (31.8 kB view hashes)

Uploaded Python 3

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