Merge pull request #121 from tawoe/codeclean

set debug to false
This commit is contained in:
Simon Redfern 2021-02-16 17:34:51 +01:00 committed by GitHub
commit bf17a2a1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = None
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False
# Set this to e.g. ['127.0.0.1', 'localhost'] if DEBUG = False
ALLOWED_HOSTS = []
@ -194,7 +194,6 @@ LOGIN_URL = reverse_lazy('home')
API_DATETIMEFORMAT = '%Y-%m-%dT%H:%M:%SZ'
#API_DATEFORMAT = '%Y-%m-%d'
API_DATEFORMAT = '%Y-%m-%dT%H:%M:%S'