Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
ec94d751
Commit
ec94d751
authored
Aug 23, 2012
by
arjun810
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #526 from MITx/feature/forum_config
Feature/forum config
parents
d8342255
ec485880
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
lms/envs/aws.py
+1
-1
lms/envs/dev.py
+2
-0
lms/lib/comment_client/settings.py
+4
-1
lms/templates/discussion/index.html
+1
-1
No files found.
lms/envs/aws.py
View file @
ec94d751
...
@@ -68,4 +68,4 @@ if 'COURSE_ID' in ENV_TOKENS:
...
@@ -68,4 +68,4 @@ if 'COURSE_ID' in ENV_TOKENS:
ASKBOT_URL
=
"courses/{0}/discussions/"
.
format
(
ENV_TOKENS
[
'COURSE_ID'
])
ASKBOT_URL
=
"courses/{0}/discussions/"
.
format
(
ENV_TOKENS
[
'COURSE_ID'
])
COMMENTS_SERVICE_URL
=
ENV_TOKENS
[
"COMMENTS_SERVICE_URL"
]
COMMENTS_SERVICE_URL
=
ENV_TOKENS
[
"COMMENTS_SERVICE_URL"
]
COMMENTS_SERVICE_KEY
=
ENV_TOKENS
[
"COMMENTS_SERVICE_KEY"
]
lms/envs/dev.py
View file @
ec94d751
...
@@ -92,6 +92,8 @@ SUBDOMAIN_BRANDING = {
...
@@ -92,6 +92,8 @@ SUBDOMAIN_BRANDING = {
'harvard'
:
'HarvardX'
,
'harvard'
:
'HarvardX'
,
}
}
COMMENTS_SERVICE_KEY
=
"PUT_YOUR_API_KEY_HERE"
################################ LMS Migration #################################
################################ LMS Migration #################################
MITX_FEATURES
[
'ENABLE_LMS_MIGRATION'
]
=
True
MITX_FEATURES
[
'ENABLE_LMS_MIGRATION'
]
=
True
MITX_FEATURES
[
'ACCESS_REQUIRE_STAFF_FOR_COURSE'
]
=
False
# require that user be in the staff_* group to be able to enroll
MITX_FEATURES
[
'ACCESS_REQUIRE_STAFF_FOR_COURSE'
]
=
False
# require that user be in the staff_* group to be able to enroll
...
...
lms/lib/comment_client/settings.py
View file @
ec94d751
...
@@ -7,4 +7,7 @@ else:
...
@@ -7,4 +7,7 @@ else:
PREFIX
=
SERVICE_HOST
+
'/api/v1'
PREFIX
=
SERVICE_HOST
+
'/api/v1'
API_KEY
=
"PUT_YOUR_API_KEY_HERE"
if
hasattr
(
settings
,
"COMMENTS_SERVICE_KEY"
):
API_KEY
=
settings
.
COMMENTS_SERVICE_KEY
else
:
API_KEY
=
"PUT_YOUR_API_KEY_HERE"
lms/templates/discussion/index.html
View file @
ec94d751
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
</section>
</section>
<section
class=
"course-content"
>
<section
class=
"course-content"
>
${content}
${content
.decode('utf-8')
}
</section>
</section>
</div>
</div>
</section>
</section>
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