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
60da2304
Commit
60da2304
authored
Jul 13, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a setting to disable the wiki in deployment.
parent
ecc50314
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
0 deletions
+7
-0
lms/envs/common.py
+2
-0
lms/envs/dev.py
+2
-0
lms/envs/devplus.py
+2
-0
lms/urls.py
+1
-0
No files found.
lms/envs/common.py
View file @
60da2304
...
...
@@ -124,6 +124,8 @@ COURSE_TITLE = "Circuits and Electronics"
ENABLE_MULTICOURSE
=
False
# set to False to disable multicourse display (see lib.util.views.mitxhome)
QUICKEDIT
=
False
WIKI_ENABLED
=
False
###
COURSE_DEFAULT
=
'6.002x_Fall_2012'
...
...
lms/envs/dev.py
View file @
60da2304
...
...
@@ -13,6 +13,8 @@ from .logsettings import get_logger_config
DEBUG
=
True
TEMPLATE_DEBUG
=
True
WIKI_ENABLED
=
True
LOGGING
=
get_logger_config
(
ENV_ROOT
/
"log"
,
logging_env
=
"dev"
,
tracking_filename
=
"tracking.log"
,
...
...
lms/envs/devplus.py
View file @
60da2304
...
...
@@ -15,6 +15,8 @@ Dir structure:
"""
from
.dev
import
*
WIKI_ENABLED
=
True
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.mysql'
,
...
...
lms/urls.py
View file @
60da2304
...
...
@@ -84,6 +84,7 @@ if settings.COURSEWARE_ENABLED:
)
# Multicourse wiki
if
settings
.
WIKI_ENABLED
:
urlpatterns
+=
(
url
(
r'^wiki/'
,
include
(
'simplewiki.urls'
)),
url
(
r'^courses/(?P<course_id>[^/]+/[^/]+/[^/]+)/wiki/'
,
include
(
'simplewiki.urls'
)),
...
...
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