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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file allauth_jinja-0.0.3.tar.gz.

File metadata

  • Download URL: allauth_jinja-0.0.3.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/6.2.0-1011-azure

File hashes

Hashes for allauth_jinja-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f026f7f558c75769a6b5dd7178415a93ef5d59a0e0c8cd9befa3dd1ab13988e7
MD5 66647953780b62b7bca6c97b4a285b6b
BLAKE2b-256 8e97253bd516b1f4060331d31dbcc674cbb9c3cc06c097370de99ee2940e3220

See more details on using hashes here.

File details

Details for the file allauth_jinja-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: allauth_jinja-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/6.2.0-1011-azure

File hashes

Hashes for allauth_jinja-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b1bcf95cad7cf3553251d0879798df37df3132e9bb98f5f9136f46e6a9f31f75
MD5 faae0d39b7becfc2cde3c34d4734a4a0
BLAKE2b-256 5d3af66337d23b219ace0634933c935ff423de7cb57c6acfa7d84aad33afaa6e

See more details on using hashes here.

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