From be1b03df856c54a237a93714364dbf93bd3a5f23 Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 7 May 2016 23:02:29 +0000 Subject: [PATCH] update from development --- dynamicweb/settings/base.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dynamicweb/settings/base.py b/dynamicweb/settings/base.py index 54e39c9a..12120227 100644 --- a/dynamicweb/settings/base.py +++ b/dynamicweb/settings/base.py @@ -281,12 +281,12 @@ CACHES = { } } -if LOGIN_URL is None: - LOGIN_URL = APP_ROOT_ENDPOINT + 'login/' -if LOGOUT_URL is None: - LOGOUT_URL = APP_ROOT_ENDPOINT + 'logout/' -if LOGIN_REDIRECT_URL is None: - LOGIN_REDIRECT_URL = APP_ROOT_ENDPOINT +#if LOGIN_URL is None: +# LOGIN_URL = APP_ROOT_ENDPOINT + 'login/' +#if LOGOUT_URL is None: +# LOGOUT_URL = APP_ROOT_ENDPOINT + 'logout/' +#if LOGIN_REDIRECT_URL is None: +# LOGIN_REDIRECT_URL = APP_ROOT_ENDPOINT # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.7/howto/static-files/ @@ -455,7 +455,7 @@ REGISTRATION_MESSAGE = {'subject': "Validation mail", STRIPE_API_PRIVATE_KEY = env('STRIPE_API_PRIVATE_KEY') STRIPE_API_PUBLIC_KEY = env('STRIPE_API_PUBLIC_KEY') -DEBUG = True +DEBUG = False if DEBUG: from .local import *