From 7157e990d621b51c0aa63abea3059e5d747d5539 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 25 Apr 2022 22:03:02 +0200 Subject: [PATCH] Clean settings --- src/checkout/settings.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/checkout/settings.py b/src/checkout/settings.py index f0d859b..fb3c834 100644 --- a/src/checkout/settings.py +++ b/src/checkout/settings.py @@ -46,9 +46,9 @@ admins = env("ADMINS") if admins: ADMINS = list(map(lambda x: tuple(x.split("|")), admins)) -DEFAULT_FROM_EMAIL = "Gab's Notes " -SERVER_EMAIL = "Gab's Notes " -EMAIL_SUBJECT_PREFIX = "[Cheese checkout] " +DEFAULT_FROM_EMAIL = "Checkout " +SERVER_EMAIL = "Checkout " +EMAIL_SUBJECT_PREFIX = "[Checkout] " EMAIL_TIMEOUT = 30 ANYMAIL = { @@ -109,7 +109,7 @@ ROOT_URLCONF = "checkout.urls" TEMPLATES = [ { "BACKEND": "django.template.backends.django.DjangoTemplates", - "DIRS": ["checkout/templates"], + "DIRS": [], "APP_DIRS": True, "OPTIONS": { "context_processors": [ @@ -181,11 +181,11 @@ USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/3.1/howto/static-files/ -STATIC_URL = "/static/" +STATIC_URL = "static/" STATIC_ROOT = BASE_DIR.parent / "staticfiles" STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage" -MEDIA_URL = "/media/" +MEDIA_URL = "media/" MEDIA_ROOT = BASE_DIR.parent / "media" AUTH_USER_MODEL = "common.User"