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
5d8aade8
Commit
5d8aade8
authored
Feb 04, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explain django settings imports
parent
c4c67436
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
common/lib/xmodule/xmodule/open_ended_image_submission.py
+4
-0
common/lib/xmodule/xmodule/peer_grading_service.py
+4
-1
No files found.
common/lib/xmodule/xmodule/open_ended_image_submission.py
View file @
5d8aade8
...
...
@@ -13,6 +13,10 @@ from urlparse import urlparse
import
requests
from
boto.s3.connection
import
S3Connection
from
boto.s3.key
import
Key
#TODO: Settings import is needed now in order to specify the URL and keys for amazon s3 (to upload images).
#Eventually, the goal is to replace the global django settings import with settings specifically
#for this module. There is no easy way to do this now, so piggybacking on the django settings
#makes sense.
from
django.conf
import
settings
import
pickle
import
logging
...
...
common/lib/xmodule/xmodule/peer_grading_service.py
View file @
5d8aade8
...
...
@@ -4,8 +4,11 @@ import requests
from
requests.exceptions
import
RequestException
,
ConnectionError
,
HTTPError
import
sys
#TODO: Settings import is needed now in order to specify the URL where to find the peer grading service.
#Eventually, the goal is to replace the global django settings import with settings specifically
#for this xmodule. There is no easy way to do this now, so piggybacking on the django settings
#makes sense.
from
django.conf
import
settings
from
django.http
import
HttpResponse
,
Http404
from
combined_open_ended_rubric
import
CombinedOpenEndedRubric
,
RubricParsingError
from
lxml
import
etree
...
...
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