added Google Analytics
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
"""
|
||||
Django settings for rowsandall_app project.
|
||||
|
||||
@@ -103,10 +104,11 @@ TEMPLATES = [
|
||||
'context_processors': [
|
||||
'django.template.context_processors.debug',
|
||||
'django.template.context_processors.request',
|
||||
'django.core.context_processors.request',
|
||||
'django.template.context_processors.request',
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
'django.contrib.messages.context_processors.messages',
|
||||
'django.template.context_processors.i18n',
|
||||
'context_processors.google_analytics',
|
||||
],
|
||||
# 'loaders': [
|
||||
# 'django.template.loaders.app_directories.Loader',
|
||||
@@ -325,6 +327,9 @@ SWAGGER_SETTINGS = {
|
||||
|
||||
CLICKY_SITE_ID = CFG['clicky_site_id']
|
||||
|
||||
GOOGLE_ANALYTICS_PROPERTY_ID = CFG['google_analytics_id']
|
||||
GOOGLE_ANALYTICS_DOMAIN = CFG['google_analytics_domain']
|
||||
|
||||
TWEET_ACCESS_TOKEN_KEY = CFG['tweet_access_token_key']
|
||||
TWEET_ACCESS_TOKEN_SECRET = CFG['tweet_access_token_secret']
|
||||
TWEET_CONSUMER_KEY = CFG['tweet_consumer_key']
|
||||
|
||||
Reference in New Issue
Block a user