|
|
@@ -24,7 +24,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
SECRET_KEY = '$rs)*w)9gh)nkf1=@r$2xguf1b(qz8ba!%hm8lwt54ti3_da^b'
|
|
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
|
-DEBUG = True
|
|
|
+DEBUG = False
|
|
|
|
|
|
if DEBUG == True:
|
|
|
config_path = os.path.join(BASE_DIR,"test.json")
|
|
|
@@ -57,7 +57,6 @@ INSTALLED_APPS = [
|
|
|
'apps.IOTCard',
|
|
|
'apps.PestAnalysis',
|
|
|
'apps.Equipment',
|
|
|
- 'apps.QxzApp'
|
|
|
]
|
|
|
|
|
|
MIDDLEWARE = [
|
|
|
@@ -169,4 +168,4 @@ REST_FRAMEWORK = {
|
|
|
|
|
|
JWT_AUTH = {
|
|
|
'JWT_EXPIRATION_DELTA': datetime.timedelta(days=1),
|
|
|
-}
|
|
|
+}
|