Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
course-discovery
Commits
a0699349
Commit
a0699349
authored
May 17, 2016
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #106 from edx/clintonb/minor-fixes
Multiple small fixes
parents
2570d0bb
0ddac475
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
course_discovery/settings/base.py
+2
-5
course_discovery/settings/test.py
+1
-1
requirements/base.txt
+1
-1
No files found.
course_discovery/settings/base.py
View file @
a0699349
...
@@ -298,14 +298,11 @@ SWAGGER_SETTINGS = {
...
@@ -298,14 +298,11 @@ SWAGGER_SETTINGS = {
'permission_denied_handler'
:
'course_discovery.apps.api.views.api_docs_permission_denied_handler'
'permission_denied_handler'
:
'course_discovery.apps.api.views.api_docs_permission_denied_handler'
}
}
ELASTICSEARCH_URL
=
'http://127.0.0.1:9200/'
ELASTICSEARCH_INDEX_NAME
=
'catalog'
HAYSTACK_CONNECTIONS
=
{
HAYSTACK_CONNECTIONS
=
{
'default'
:
{
'default'
:
{
'ENGINE'
:
'course_discovery.apps.core.haystack_backends.SimplifiedElasticsearchSearchEngine'
,
'ENGINE'
:
'course_discovery.apps.core.haystack_backends.SimplifiedElasticsearchSearchEngine'
,
'URL'
:
ELASTICSEARCH_URL
,
'URL'
:
'http://localhost:9200/'
,
'INDEX_NAME'
:
ELASTICSEARCH_INDEX_NAME
,
'INDEX_NAME'
:
'catalog'
,
},
},
}
}
...
...
course_discovery/settings/test.py
View file @
a0699349
...
@@ -32,7 +32,7 @@ DATABASES = {
...
@@ -32,7 +32,7 @@ DATABASES = {
HAYSTACK_CONNECTIONS
=
{
HAYSTACK_CONNECTIONS
=
{
'default'
:
{
'default'
:
{
'ENGINE'
:
'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine'
,
'ENGINE'
:
'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine'
,
'URL'
:
os
.
environ
.
get
(
'TEST_ELASTICSEARCH_URL'
,
'http://
127.0.0.1
:9200/'
),
'URL'
:
os
.
environ
.
get
(
'TEST_ELASTICSEARCH_URL'
,
'http://
localhost
:9200/'
),
'INDEX_NAME'
:
'catalog_test'
,
'INDEX_NAME'
:
'catalog_test'
,
},
},
}
}
...
...
requirements/base.txt
View file @
a0699349
...
@@ -9,7 +9,7 @@ django-waffle==0.11
...
@@ -9,7 +9,7 @@ django-waffle==0.11
djangorestframework==3.3.3
djangorestframework==3.3.3
djangorestframework-jwt==1.7.2
djangorestframework-jwt==1.7.2
djangorestframework-xml==1.3.0
djangorestframework-xml==1.3.0
django-rest-swagger[reST]==0.3.
5
django-rest-swagger[reST]==0.3.
6
dry-rest-permissions==0.1.6
dry-rest-permissions==0.1.6
edx-auth-backends==0.2.3
edx-auth-backends==0.2.3
edx-ccx-keys==0.2.0
edx-ccx-keys==0.2.0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment