1
0
mirror of https://github.com/TandoorRecipes/recipes.git synced 2026-01-11 17:16:59 -05:00

Merge branch 'develop' into draggable_pill_update

This commit is contained in:
vabene1111
2021-10-01 07:53:35 +00:00
committed by GitHub
39 changed files with 999 additions and 358 deletions

View File

@@ -73,6 +73,8 @@ ACCOUNT_SIGNUP_FORM_CLASS = 'cookbook.forms.AllAuthSignupForm'
TERMS_URL = os.getenv('TERMS_URL', '')
PRIVACY_URL = os.getenv('PRIVACY_URL', '')
IMPRINT_URL = os.getenv('IMPRINT_URL', '')
if SORT_TREE_BY_NAME:= bool(int(os.getenv('SQL_DEBUG', True))):
MIDDLEWARE += ('recipes.middleware.SqlPrintingMiddleware',)
HOSTED = bool(int(os.getenv('HOSTED', False)))
@@ -392,3 +394,4 @@ ACCOUNT_EMAIL_SUBJECT_PREFIX = os.getenv('ACCOUNT_EMAIL_SUBJECT_PREFIX', '[Tando
if bool(int(os.getenv('SQL_DEBUG', False))):
MIDDLEWARE += ('recipes.middleware.SqlPrintingMiddleware',)

View File

@@ -8,7 +8,6 @@ https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "recipes.settings")