fix - device pre register & exception handling with json response
This commit is contained in:
@@ -33,7 +33,8 @@ if not os.getenv("RUNNING_IN_DOCKER"):
|
||||
SECRET_KEY = os.environ.get("SECRET_KEY")
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = bool(os.environ.get("DEBUG", default=0))
|
||||
# DEBUG = bool(os.environ.get("DEBUG", default=0))
|
||||
DEBUG = os.getenv("DEBUG", "True").lower() in ("1", "true", "yes")
|
||||
|
||||
ASGI_APPLICATION = "Rasaddam_Backend.asgi.application" # noqa
|
||||
|
||||
|
||||
Reference in New Issue
Block a user