machristie commented on code in PR #167:
URL: 
https://github.com/apache/airavata-custos-portal/pull/167#discussion_r1104722499


##########
airavata_custos_portal/settings.py:
##########
@@ -27,7 +28,7 @@
 )
 
 # SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = True #os.environ.get("DJANGO_DEBUG", "true") == "true"
+DEBUG = os.environ.get("DJANGO_DEBUG", "true") == "true"

Review Comment:
   Okay, I think that's fine as long as we document it clearly. One other thing 
I'll add, it's very important that we have DJANGO_DEBUG set to false in 
production because when DJANGO_DEBUG is true it can leak important sensitive 
information like Custos client secret, etc.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to