-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
27 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from allauth.account import app_settings as allauth_settings | ||
|
||
from django.conf import settings | ||
|
||
TEMPLATE_EXTENSION = getattr(settings, | ||
'ALLAUTH_2FA_TEMPLATE_EXTENSION', | ||
allauth_settings.TEMPLATE_EXTENSION) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Configuration | ||
============= | ||
|
||
``ALLAUTH_2FA_TEMPLATE_EXTENSION`` | ||
---------------------------------- | ||
|
||
ALlows you to override the extension for the templates used by the internal | ||
views of django-allauth-2fa. | ||
|
||
Defaults to ``ACCOUNT_TEMPLATE_EXTENSION`` from allauth, which is ``html`` by | ||
default. | ||
|
||
This can be used to allow a different template engine for 2FA views. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
:caption: Contents: | ||
|
||
installation | ||
configuration | ||
advanced | ||
settings | ||
changelog | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.