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
95496b5c
Commit
95496b5c
authored
Mar 27, 2013
by
Carlos Andrés Rocha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup dev settings a little bit
parent
93590566
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
lms/envs/dev.py
+4
-5
No files found.
lms/envs/dev.py
View file @
95496b5c
...
@@ -24,7 +24,6 @@ MITX_FEATURES['ENABLE_PSYCHOMETRICS'] = False # real-time psychometrics (eg i
...
@@ -24,7 +24,6 @@ MITX_FEATURES['ENABLE_PSYCHOMETRICS'] = False # real-time psychometrics (eg i
MITX_FEATURES
[
'ENABLE_INSTRUCTOR_ANALYTICS'
]
=
True
MITX_FEATURES
[
'ENABLE_INSTRUCTOR_ANALYTICS'
]
=
True
WIKI_ENABLED
=
True
WIKI_ENABLED
=
True
LOGGING
=
get_logger_config
(
ENV_ROOT
/
"log"
,
LOGGING
=
get_logger_config
(
ENV_ROOT
/
"log"
,
...
@@ -143,7 +142,7 @@ if os.path.isdir(DATA_DIR):
...
@@ -143,7 +142,7 @@ if os.path.isdir(DATA_DIR):
MITX_VERSION_STRING
=
os
.
popen
(
'cd
%
s; git describe'
%
REPO_ROOT
)
.
read
()
.
strip
()
MITX_VERSION_STRING
=
os
.
popen
(
'cd
%
s; git describe'
%
REPO_ROOT
)
.
read
()
.
strip
()
############################
#####
Open ended grading config #####################
############################ Open ended grading config #####################
OPEN_ENDED_GRADING_INTERFACE
=
{
OPEN_ENDED_GRADING_INTERFACE
=
{
'url'
:
'http://127.0.0.1:3033/'
,
'url'
:
'http://127.0.0.1:3033/'
,
...
@@ -154,7 +153,7 @@ OPEN_ENDED_GRADING_INTERFACE = {
...
@@ -154,7 +153,7 @@ OPEN_ENDED_GRADING_INTERFACE = {
'grading_controller'
:
'grading_controller'
'grading_controller'
:
'grading_controller'
}
}
##############################
## 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
MITX_FEATURES
[
'USE_XQA_SERVER'
]
=
'http://xqa:server@content-qa.mitx.mit.edu/xqa'
MITX_FEATURES
[
'USE_XQA_SERVER'
]
=
'http://xqa:server@content-qa.mitx.mit.edu/xqa'
...
@@ -173,7 +172,7 @@ INSTALLED_APPS += ('django_openid_auth',)
...
@@ -173,7 +172,7 @@ INSTALLED_APPS += ('django_openid_auth',)
OPENID_CREATE_USERS
=
False
OPENID_CREATE_USERS
=
False
OPENID_UPDATE_DETAILS_FROM_SREG
=
True
OPENID_UPDATE_DETAILS_FROM_SREG
=
True
OPENID_SSO_SERVER_URL
=
'https://www.google.com/accounts/o8/id'
# TODO: accept more endpoints
OPENID_SSO_SERVER_URL
=
'https://www.google.com/accounts/o8/id'
# TODO: accept more endpoints
OPENID_USE_AS_ADMIN_LOGIN
=
False
OPENID_USE_AS_ADMIN_LOGIN
=
False
OPENID_PROVIDER_TRUSTED_ROOTS
=
[
'*'
]
OPENID_PROVIDER_TRUSTED_ROOTS
=
[
'*'
]
...
@@ -208,7 +207,7 @@ DEBUG_TOOLBAR_PANELS = (
...
@@ -208,7 +207,7 @@ DEBUG_TOOLBAR_PANELS = (
DEBUG_TOOLBAR_CONFIG
=
{
DEBUG_TOOLBAR_CONFIG
=
{
'INTERCEPT_REDIRECTS'
:
False
'INTERCEPT_REDIRECTS'
:
False
}
}
####################
######## FILE UPLOADS (for discussion forums) ########
#####################
####################
FILE UPLOADS (for discussion forums)
#####################
DEFAULT_FILE_STORAGE
=
'django.core.files.storage.FileSystemStorage'
DEFAULT_FILE_STORAGE
=
'django.core.files.storage.FileSystemStorage'
MEDIA_ROOT
=
ENV_ROOT
/
"uploads"
MEDIA_ROOT
=
ENV_ROOT
/
"uploads"
MEDIA_URL
=
"/static/uploads/"
MEDIA_URL
=
"/static/uploads/"
...
...
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