From eeaddb27560d723ca7d61359744ceb2709fccd2d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 15 Oct 2024 21:01:31 +0100 Subject: Renamed from pyblackbird_cc to alphabetlearning - everywhere --- alphabetlearning/users/context_processors.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 alphabetlearning/users/context_processors.py (limited to 'alphabetlearning/users/context_processors.py') diff --git a/alphabetlearning/users/context_processors.py b/alphabetlearning/users/context_processors.py new file mode 100644 index 0000000..e2633ae --- /dev/null +++ b/alphabetlearning/users/context_processors.py @@ -0,0 +1,8 @@ +from django.conf import settings + + +def allauth_settings(request): + """Expose some settings from django-allauth in templates.""" + return { + "ACCOUNT_ALLOW_REGISTRATION": settings.ACCOUNT_ALLOW_REGISTRATION, + } -- cgit v1.2.3