Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
0e11deff
Commit
0e11deff
authored
12 years ago
by
Vik Paruchuri
Browse files
Options
Downloads
Patches
Plain Diff
Fix staff and peer grading settings to not fail catastrophically
parent
e97469ae
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/envs/aws.py
+2
-2
2 additions, 2 deletions
lms/envs/aws.py
lms/envs/common.py
+18
-2
18 additions, 2 deletions
lms/envs/common.py
with
20 additions
and
4 deletions
lms/envs/aws.py
+
2
−
2
View file @
0e11deff
...
...
@@ -76,8 +76,8 @@ DATABASES = AUTH_TOKENS['DATABASES']
XQUEUE_INTERFACE
=
AUTH_TOKENS
[
'
XQUEUE_INTERFACE
'
]
STAFF_GRADING_INTERFACE
=
AUTH_TOKENS
.
get
(
'
STAFF_GRADING_INTERFACE
'
)
STAFF_GRADING_INTERFACE
=
AUTH_TOKENS
.
get
(
'
STAFF_GRADING_INTERFACE
'
,
STAFF_GRADING_INTERFACE
)
PEER_GRADING_INTERFACE
=
AUTH_TOKENS
.
get
(
'
STAFF_GRADING_INTERFACE
'
,
PEER_GRADING_INTERFACE
)
PEARSON_TEST_USER
=
"
pearsontest
"
PEARSON_TEST_PASSWORD
=
AUTH_TOKENS
.
get
(
"
PEARSON_TEST_PASSWORD
"
)
This diff is collapsed.
Click to expand it.
lms/envs/common.py
+
18
−
2
View file @
0e11deff
...
...
@@ -329,12 +329,28 @@ WIKI_LINK_DEFAULT_LEVEL = 2
################################# Staff grading config #####################
STAFF_GRADING_INTERFACE
=
None
#By setting up the default settings with an incorrect user name and password,
# will get an error when attempting to connect
STAFF_GRADING_INTERFACE
=
{
'
url
'
:
'
http://sandbox-grader-001.m.edx.org/staff_grading
'
,
'
username
'
:
'
incorrect_user
'
,
'
password
'
:
'
incorrect_pass
'
,
}
# Used for testing, debugging
MOCK_STAFF_GRADING
=
False
################################# Peer grading config #####################
PEER_GRADING_INTERFACE
=
None
#By setting up the default settings with an incorrect user name and password,
# will get an error when attempting to connect
PEER_GRADING_INTERFACE
=
{
'
url
'
:
'
http://sandbox-grader-001.m.edx.org/peer_grading
'
,
'
username
'
:
'
incorrect_user
'
,
'
password
'
:
'
incorrect_pass
'
,
}
# Used for testing, debugging
MOCK_PEER_GRADING
=
False
################################# Jasmine ###################################
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment