Skip to content

Commit

Permalink
Remove all TEMPLATE_ options from settings
Browse files Browse the repository at this point in the history
  • Loading branch information
thallada committed Aug 31, 2016
1 parent 2989c70 commit d58be65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 0 additions & 5 deletions analyticsdataserver/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
########## DEBUG CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#debug
DEBUG = False

# See: https://docs.djangoproject.com/en/dev/ref/settings/#template-debug
TEMPLATE_DEBUG = DEBUG
########## END DEBUG CONFIGURATION


Expand Down Expand Up @@ -150,8 +147,6 @@
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
# Insert your TEMPLATE_CONTEXT_PROCESSORS here or use this
# list if you haven't customized them:
'django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
Expand Down
8 changes: 5 additions & 3 deletions analyticsdataserver/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
########## DEBUG CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#debug
DEBUG = True

# See: https://docs.djangoproject.com/en/dev/ref/settings/#template-debug
TEMPLATE_DEBUG = DEBUG
########## END DEBUG CONFIGURATION


Expand Down Expand Up @@ -66,3 +63,8 @@
SWAGGER_SETTINGS = {
'api_key': 'edx'
}

# Default elasticsearch port when running locally
ELASTICSEARCH_LEARNERS_HOST = 'http://localhost:9223/'
ELASTICSEARCH_LEARNERS_INDEX = 'roster_test'
ELASTICSEARCH_LEARNERS_UPDATE_INDEX = 'index_update_test'

0 comments on commit d58be65

Please sign in to comment.