aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/settings/base.py')
-rw-r--r--config/settings/base.py25
1 files changed, 12 insertions, 13 deletions
diff --git a/config/settings/base.py b/config/settings/base.py
index 0324974..82d11ac 100644
--- a/config/settings/base.py
+++ b/config/settings/base.py
@@ -6,8 +6,7 @@ from pathlib import Path
import environ
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent.parent
-# pyblackbird_cc/
-APPS_DIR = BASE_DIR / "pyblackbird_cc"
+APPS_DIR = BASE_DIR / "alphabetlearning"
env = environ.Env()
READ_DOT_ENV_FILE = env.bool("DJANGO_READ_DOT_ENV_FILE", default=False)
@@ -85,9 +84,9 @@ STRIPE_PUBLIC_KEY = env("STRIPE_PUBLIC_KEY")
STRIPE_LIVE_MODE = False
LOCAL_APPS = [
- "pyblackbird_cc.users",
- "pyblackbird_cc.resources",
- "pyblackbird_cc.payments",
+ "alphabetlearning.users",
+ "alphabetlearning.resources",
+ "alphabetlearning.payments",
# Your stuff: custom apps go here
]
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
@@ -96,7 +95,7 @@ INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
# MIGRATIONS
# ------------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#migration-modules
-MIGRATION_MODULES = {"sites": "pyblackbird_cc.contrib.sites.migrations"}
+MIGRATION_MODULES = {"sites": "alphabetlearning.contrib.sites.migrations"}
# AUTHENTICATION
# ------------------------------------------------------------------------------
@@ -191,7 +190,7 @@ TEMPLATES = [
"django.template.context_processors.static",
"django.template.context_processors.tz",
"django.contrib.messages.context_processors.messages",
- "pyblackbird_cc.users.context_processors.allauth_settings",
+ "alphabetlearning.users.context_processors.allauth_settings",
],
},
},
@@ -223,7 +222,7 @@ X_FRAME_OPTIONS = "DENY"
# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
EMAIL_BACKEND = env(
"DJANGO_EMAIL_BACKEND",
- #default="django.core.mail.backends.smtp.EmailBackend",
+ # default="django.core.mail.backends.smtp.EmailBackend",
default="django.core.mail.backends.console.EmailBackend",
)
# https://docs.djangoproject.com/en/dev/ref/settings/#email-timeout
@@ -311,15 +310,15 @@ ACCOUNT_USERNAME_REQUIRED = False
# https://docs.allauth.org/en/latest/account/configuration.html
ACCOUNT_USER_MODEL_USERNAME_FIELD = None
# https://docs.allauth.org/en/latest/account/configuration.html
-#ACCOUNT_EMAIL_VERIFICATION = "mandatory"
+# ACCOUNT_EMAIL_VERIFICATION = "mandatory"
# https://docs.allauth.org/en/latest/account/configuration.html
-ACCOUNT_ADAPTER = "pyblackbird_cc.users.adapters.AccountAdapter"
+ACCOUNT_ADAPTER = "alphabetlearning.users.adapters.AccountAdapter"
# https://docs.allauth.org/en/latest/account/forms.html
-ACCOUNT_FORMS = {"signup": "pyblackbird_cc.users.forms.UserSignupForm"}
+ACCOUNT_FORMS = {"signup": "alphabetlearning.users.forms.UserSignupForm"}
# https://docs.allauth.org/en/latest/socialaccount/configuration.html
-SOCIALACCOUNT_ADAPTER = "pyblackbird_cc.users.adapters.SocialAccountAdapter"
+SOCIALACCOUNT_ADAPTER = "alphabetlearning.users.adapters.SocialAccountAdapter"
# https://docs.allauth.org/en/latest/socialaccount/configuration.html
-SOCIALACCOUNT_FORMS = {"signup": "pyblackbird_cc.users.forms.UserSocialSignupForm"}
+SOCIALACCOUNT_FORMS = {"signup": "alphabetlearning.users.forms.UserSocialSignupForm"}
# STORAGES
# ------------------------------------------------------------------------------