sev3rance-auth-templates

Sev3rance Template Overrides for Alliance Auth


License
GPL-3.0
Install
pip install sev3rance-auth-templates==1.5.4

Documentation

Alliance Auth Template Overrides used by Sev3rance Alliance

Sev3rance Auth Templates

Template Overrides for Alliance Auth

pip install sev3rance-auth-templates

In local.py right after INSTALLED_APPS:

# -7- Auth Templates - https://github.com/sev3rance/sev3rance-auth-templates
INSTALLED_APPS.insert(0, "sev3rance_auth_templates")

TEMPLATES[0]["OPTIONS"]["context_processors"].append(
    "sev3rance_auth_templates.context_processors.severance_settings"
)

Important

If you are using AA-GDPR, the template stuff needs to be after the AA_GDPR entry, like this:

# GDPR Compliance
INSTALLED_APPS.insert(0, "aagdpr")
AVOID_CDN = True


# -7- Auth Templates - https://github.com/sev3rance/sev3rance-auth-templates
INSTALLED_APPS.insert(0, "sev3rance_auth_templates")

TEMPLATES[0]["OPTIONS"]["context_processors"].append(
    "sev3rance_auth_templates.context_processors.severance_settings"
)