From 86a2999d2f7dc0c8cd67b3bda167f11ce3e52717 Mon Sep 17 00:00:00 2001
From: PaulMagos
Date: Fri, 10 Nov 2023 18:37:30 +0100
Subject: [PATCH] Fix for production
---
smartreport/settings.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/smartreport/settings.py b/smartreport/settings.py
index 0245393..9e5c419 100644
--- a/smartreport/settings.py
+++ b/smartreport/settings.py
@@ -153,10 +153,10 @@
'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend']
}
-if (os.environ.get("DEBUG").lower() == "false"):
- REST_FRAMEWORK["DEFAULT_PERMISSION_CLASSES"] = (
- 'smartreport_app.permissions.FullObjectPermission',
- )
+# if (os.environ.get("DEBUG").lower() == "false"):
+# REST_FRAMEWORK["DEFAULT_PERMISSION_CLASSES"] = (
+# 'smartreport_app.permissions.FullObjectPermission',
+# )
# Internationalization