Skip to content

Commit

Permalink
Add debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Apr 3, 2024
1 parent 1488308 commit aa0e5d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/aiproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""

import os

import logging
import dj_database_url
import environ
from corsheaders.defaults import default_headers
Expand Down Expand Up @@ -184,6 +184,7 @@
STATIC_ROOT = os.path.join(BASE_DIR, "api_static")

if DEBUG:
logging.info("Enabling oauthlib insecure transport in debug mode")
os.environ["OAUTHLIB_INSECURE_TRANSPORT"] = "1"


Expand Down

0 comments on commit aa0e5d2

Please sign in to comment.