Tieing tianji to debug
This commit is contained in:
@@ -25,6 +25,7 @@ SECRET_KEY = 'django-insecure-0$+hho_6%-(ud^t%0zos(q&i@2&)9m+u&dgj77&51g$m#hr^0s
|
|||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
TIANJI_ENABLED = not DEBUG
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["*"]
|
ALLOWED_HOSTS = ["*"]
|
||||||
|
|
||||||
@@ -156,6 +157,5 @@ LOGIN_REDIRECT_URL = '/'
|
|||||||
LOGOUT_REDIRECT_URL = '/'
|
LOGOUT_REDIRECT_URL = '/'
|
||||||
|
|
||||||
# Tianji analytics (loaded only after user consent)
|
# Tianji analytics (loaded only after user consent)
|
||||||
TIANJI_ENABLED = os.environ.get('TIANJI_ENABLED', 'true').lower() in ('1', 'true', 'yes')
|
|
||||||
TIANJI_TRACKER_URL = 'https://tianji.aimloperations.com/tracker.js'
|
TIANJI_TRACKER_URL = 'https://tianji.aimloperations.com/tracker.js'
|
||||||
TIANJI_WEBSITE_ID = 'cm7w80pyy020oddswy2evl957'
|
TIANJI_WEBSITE_ID = 'cm7w80pyy020oddswy2evl957'
|
||||||
|
|||||||
Reference in New Issue
Block a user