aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/base.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-09 17:16:41 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-09 17:16:41 +0000
commitb481069d9444cc0756bd9f6780e7700dcf4903f5 (patch)
tree5cba9e3d501f79747c8af22bd1b0fd7d783e7ded /config/settings/base.py
parentd3dda8c0bd194c28cf11c189c150c00bdc3e8a83 (diff)
wip: moving home page to home app and implementing reCAPTCHA
Diffstat (limited to 'config/settings/base.py')
-rw-r--r--config/settings/base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/settings/base.py b/config/settings/base.py
index 157926b..991605c 100644
--- a/config/settings/base.py
+++ b/config/settings/base.py
@@ -77,6 +77,7 @@ THIRD_PARTY_APPS = [
"allauth.mfa",
"allauth.socialaccount",
"django_celery_beat",
+ "django_recaptcha",
]
STRIPE_SECRET_KEY = env("STRIPE_SECRET_KEY")
@@ -88,6 +89,7 @@ LOCAL_APPS = [
"alphabetlearning.users",
"alphabetlearning.resources",
"alphabetlearning.payments",
+ "alphabetlearning.pages",
# Your stuff: custom apps go here
]
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
@@ -366,3 +368,6 @@ CACHES = {
"LOCATION": "rate_limit_cache",
},
}
+
+RECAPTCHA_PUBLIC_KEY = env("RECAPTCHA_PUBLIC_KEY")
+RECAPTCHA_PRIVATE_KEY = env("RECAPTCHA_PRIVATE_KEY")