mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-27 18:48:04 +01:00
Clean settings
This commit is contained in:
parent
1f932b5f49
commit
7157e990d6
1 changed files with 6 additions and 6 deletions
|
@ -46,9 +46,9 @@ admins = env("ADMINS")
|
||||||
if admins:
|
if admins:
|
||||||
ADMINS = list(map(lambda x: tuple(x.split("|")), admins))
|
ADMINS = list(map(lambda x: tuple(x.split("|")), admins))
|
||||||
|
|
||||||
DEFAULT_FROM_EMAIL = "Gab's Notes <checkout@mg.gabnotes.org>"
|
DEFAULT_FROM_EMAIL = "Checkout <checkout@mg.gabnotes.org>"
|
||||||
SERVER_EMAIL = "Gab's Notes <checkout@mg.gabnotes.org>"
|
SERVER_EMAIL = "Checkout <checkout@mg.gabnotes.org>"
|
||||||
EMAIL_SUBJECT_PREFIX = "[Cheese checkout] "
|
EMAIL_SUBJECT_PREFIX = "[Checkout] "
|
||||||
EMAIL_TIMEOUT = 30
|
EMAIL_TIMEOUT = 30
|
||||||
|
|
||||||
ANYMAIL = {
|
ANYMAIL = {
|
||||||
|
@ -109,7 +109,7 @@ ROOT_URLCONF = "checkout.urls"
|
||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
{
|
{
|
||||||
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
||||||
"DIRS": ["checkout/templates"],
|
"DIRS": [],
|
||||||
"APP_DIRS": True,
|
"APP_DIRS": True,
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
"context_processors": [
|
"context_processors": [
|
||||||
|
@ -181,11 +181,11 @@ USE_TZ = True
|
||||||
# Static files (CSS, JavaScript, Images)
|
# Static files (CSS, JavaScript, Images)
|
||||||
# https://docs.djangoproject.com/en/3.1/howto/static-files/
|
# https://docs.djangoproject.com/en/3.1/howto/static-files/
|
||||||
|
|
||||||
STATIC_URL = "/static/"
|
STATIC_URL = "static/"
|
||||||
STATIC_ROOT = BASE_DIR.parent / "staticfiles"
|
STATIC_ROOT = BASE_DIR.parent / "staticfiles"
|
||||||
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
|
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
|
||||||
|
|
||||||
MEDIA_URL = "/media/"
|
MEDIA_URL = "media/"
|
||||||
MEDIA_ROOT = BASE_DIR.parent / "media"
|
MEDIA_ROOT = BASE_DIR.parent / "media"
|
||||||
|
|
||||||
AUTH_USER_MODEL = "common.User"
|
AUTH_USER_MODEL = "common.User"
|
||||||
|
|
Loading…
Reference in a new issue