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
a2ca6f96
Commit
a2ca6f96
authored
5 years ago
by
Dave St.Germain
Browse files
Options
Downloads
Patches
Plain Diff
API support for bulk grade import/export
parent
69496576
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/djangoapps/grades/api.py
+1
-1
1 addition, 1 deletion
lms/djangoapps/grades/api.py
openedx/core/djangoapps/course_groups/cohorts.py
+1
-1
1 addition, 1 deletion
openedx/core/djangoapps/course_groups/cohorts.py
with
2 additions
and
2 deletions
lms/djangoapps/grades/api.py
+
1
−
1
View file @
a2ca6f96
...
...
@@ -12,7 +12,7 @@ from lms.djangoapps.grades.models_api import *
from
lms.djangoapps.grades.tasks
import
compute_all_grades_for_course
as
task_compute_all_grades_for_course
# Public Grades Modules
from
lms.djangoapps.grades
import
events
,
constants
,
context
from
lms.djangoapps.grades
import
events
,
constants
,
context
,
course_data
from
lms.djangoapps.grades.signals
import
signals
from
lms.djangoapps.grades.util_services
import
GradesUtilService
...
...
This diff is collapsed.
Click to expand it.
openedx/core/djangoapps/course_groups/cohorts.py
+
1
−
1
View file @
a2ca6f96
...
...
@@ -219,7 +219,7 @@ def get_cohort(user, course_key, assign=True, use_cached=False):
Raises:
ValueError if the CourseKey doesn
'
t exist.
"""
if
user
.
is_anonymous
:
if
user
is
None
or
user
.
is_anonymous
:
return
None
cache
=
RequestCache
(
COHORT_CACHE_NAMESPACE
).
data
cache_key
=
_cohort_cache_key
(
user
.
id
,
course_key
)
...
...
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