Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit d58be65

Browse files
committed
Remove all TEMPLATE_ options from settings
1 parent 2989c70 commit d58be65

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

analyticsdataserver/settings/base.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
########## DEBUG CONFIGURATION
2121
# See: https://docs.djangoproject.com/en/dev/ref/settings/#debug
2222
DEBUG = False
23-
24-
# See: https://docs.djangoproject.com/en/dev/ref/settings/#template-debug
25-
TEMPLATE_DEBUG = DEBUG
2623
########## END DEBUG CONFIGURATION
2724

2825

@@ -150,8 +147,6 @@
150147
'APP_DIRS': True,
151148
'OPTIONS': {
152149
'context_processors': [
153-
# Insert your TEMPLATE_CONTEXT_PROCESSORS here or use this
154-
# list if you haven't customized them:
155150
'django.contrib.auth.context_processors.auth',
156151
'django.template.context_processors.debug',
157152
'django.template.context_processors.i18n',

analyticsdataserver/settings/local.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
########## DEBUG CONFIGURATION
1010
# See: https://docs.djangoproject.com/en/dev/ref/settings/#debug
1111
DEBUG = True
12-
13-
# See: https://docs.djangoproject.com/en/dev/ref/settings/#template-debug
14-
TEMPLATE_DEBUG = DEBUG
1512
########## END DEBUG CONFIGURATION
1613

1714

@@ -66,3 +63,8 @@
6663
SWAGGER_SETTINGS = {
6764
'api_key': 'edx'
6865
}
66+
67+
# Default elasticsearch port when running locally
68+
ELASTICSEARCH_LEARNERS_HOST = 'http://localhost:9223/'
69+
ELASTICSEARCH_LEARNERS_INDEX = 'roster_test'
70+
ELASTICSEARCH_LEARNERS_UPDATE_INDEX = 'index_update_test'

0 commit comments

Comments
 (0)