initial commit

This commit is contained in:
mandel
2026-02-18 19:45:43 +01:00
commit 5bcec7a804
23 changed files with 617 additions and 0 deletions

15
mandelstudio/settings/env/prd.py vendored Normal file
View File

@@ -0,0 +1,15 @@
from ..base import * # pylint:disable=W0401,W0614
try:
from mandelstudio.json import * # pylint:disable=W0401,W0614,E0611,E0401
except ModuleNotFoundError:
pass
DEBUG = False
STATIC_ROOT = "/srv/www/mandelstudio/static/"
MEDIA_ROOT = "/srv/www/mandelstudio/media/"
PRIVATE_MEDIA_ROOT = "/srv/www/mandelstudio/private/"
ALLOWED_HOSTS.append("mandelstudio.%s" % salt_target) # pylint: disable=E0602
# pylint: disable=E0602
WAGTAILSEARCH_BACKENDS["default"]["URLS"] = ["https://search.mandelblog.com:9200"]
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"