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
df4b512b
Commit
df4b512b
authored
Jun 21, 2013
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change wildcard imports into specific imports
parent
e045860c
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
20 additions
and
20 deletions
+20
-20
common/djangoapps/heartbeat/urls.py
+1
-1
common/djangoapps/student/admin.py
+2
-2
common/djangoapps/track/admin.py
+1
-1
lms/djangoapps/courseware/admin.py
+1
-1
lms/djangoapps/django_comment_client/helpers.py
+1
-1
lms/djangoapps/instructor/management/commands/compute_grades.py
+1
-1
lms/djangoapps/psychometrics/admin.py
+1
-1
lms/djangoapps/psychometrics/management/commands/init_psychometrics.py
+3
-3
lms/djangoapps/psychometrics/psychoanalyze.py
+3
-2
lms/lib/comment_client/comment.py
+2
-2
lms/lib/comment_client/comment_client.py
+1
-1
lms/lib/comment_client/commentable.py
+0
-2
lms/lib/comment_client/thread.py
+2
-1
lms/lib/comment_client/user.py
+1
-1
No files found.
common/djangoapps/heartbeat/urls.py
View file @
df4b512b
from
django.conf.urls
import
*
from
django.conf.urls
import
url
,
patterns
urlpatterns
=
patterns
(
''
,
# nopep8
url
(
r'^$'
,
'heartbeat.views.heartbeat'
,
name
=
'heartbeat'
),
...
...
common/djangoapps/student/admin.py
View file @
df4b512b
...
...
@@ -2,9 +2,9 @@
django admin pages for courseware model
'''
from
student.models
import
*
from
student.models
import
UserProfile
,
UserTestGroup
,
CourseEnrollmentAllowed
from
student.models
import
CourseEnrollment
,
Registration
,
PendingNameChange
from
django.contrib
import
admin
from
django.contrib.auth.models
import
User
admin
.
site
.
register
(
UserProfile
)
...
...
common/djangoapps/track/admin.py
View file @
df4b512b
...
...
@@ -2,7 +2,7 @@
django admin pages for courseware model
'''
from
track.models
import
*
from
track.models
import
TrackingLog
from
django.contrib
import
admin
admin
.
site
.
register
(
TrackingLog
)
lms/djangoapps/courseware/admin.py
View file @
df4b512b
...
...
@@ -2,7 +2,7 @@
django admin pages for courseware model
'''
from
courseware.models
import
*
from
courseware.models
import
StudentModule
,
OfflineComputedGrade
,
OfflineComputedGradeLog
from
django.contrib
import
admin
from
django.contrib.auth.models
import
User
...
...
lms/djangoapps/django_comment_client/helpers.py
View file @
df4b512b
...
...
@@ -2,7 +2,7 @@ from django.conf import settings
from
.mustache_helpers
import
mustache_helpers
from
functools
import
partial
from
.utils
import
*
from
.utils
import
extend_content
,
merge_dict
,
render_mustache
import
django_comment_client.settings
as
cc_settings
import
pystache_custom
as
pystache
...
...
lms/djangoapps/instructor/management/commands/compute_grades.py
View file @
df4b512b
...
...
@@ -3,7 +3,7 @@
# django management command: dump grades to csv files
# for use by batch processes
from
instructor.offline_gradecalc
import
*
from
instructor.offline_gradecalc
import
offline_grade_calculation
from
courseware.courses
import
get_course_by_id
from
xmodule.modulestore.django
import
modulestore
...
...
lms/djangoapps/psychometrics/admin.py
View file @
df4b512b
...
...
@@ -2,7 +2,7 @@
django admin pages for courseware model
'''
from
psychometrics.models
import
*
from
psychometrics.models
import
PsychometricData
from
django.contrib
import
admin
admin
.
site
.
register
(
PsychometricData
)
lms/djangoapps/psychometrics/management/commands/init_psychometrics.py
View file @
df4b512b
...
...
@@ -4,9 +4,9 @@
import
json
from
courseware.models
import
*
from
track.models
import
*
from
psychometrics.models
import
*
from
courseware.models
import
StudentModule
from
track.models
import
TrackingLog
from
psychometrics.models
import
PsychometricData
from
xmodule.modulestore
import
Location
from
django.conf
import
settings
...
...
lms/djangoapps/psychometrics/psychoanalyze.py
View file @
df4b512b
...
...
@@ -14,7 +14,8 @@ from scipy.optimize import curve_fit
from
django.conf
import
settings
from
django.db.models
import
Sum
,
Max
from
psychometrics.models
import
*
from
psychometrics.models
import
PsychometricData
from
courseware.models
import
StudentModule
from
pytz
import
UTC
log
=
logging
.
getLogger
(
"mitx.psychometrics"
)
...
...
@@ -303,7 +304,7 @@ def generate_plots_for_problem(problem):
def
make_psychometrics_data_update_handler
(
course_id
,
user
,
module_state_key
):
"""
Construct and return a procedure which may be called to update
the Psychometric
s
Data instance for the given StudentModule instance.
the PsychometricData instance for the given StudentModule instance.
"""
sm
,
status
=
StudentModule
.
objects
.
get_or_create
(
course_id
=
course_id
,
...
...
lms/lib/comment_client/comment.py
View file @
df4b512b
from
.utils
import
*
from
.utils
import
CommentClientError
,
perform_request
from
.thread
import
Thread
from
.thread
import
Thread
,
_url_for_flag_abuse_thread
,
_url_for_unflag_abuse_thread
import
models
import
settings
...
...
lms/lib/comment_client/comment_client.py
View file @
df4b512b
...
...
@@ -5,7 +5,7 @@ from .thread import Thread
from
.user
import
User
from
.commentable
import
Commentable
from
.utils
import
*
from
.utils
import
perform_request
import
settings
...
...
lms/lib/comment_client/commentable.py
View file @
df4b512b
from
.utils
import
*
import
models
import
settings
...
...
lms/lib/comment_client/thread.py
View file @
df4b512b
from
.utils
import
*
from
.utils
import
merge_dict
,
strip_blank
,
strip_none
,
extract
,
perform_request
from
.utils
import
CommentClientError
import
models
import
settings
...
...
lms/lib/comment_client/user.py
View file @
df4b512b
from
.utils
import
*
from
.utils
import
merge_dict
,
perform_request
,
CommentClientError
import
models
import
settings
...
...
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