Commit c5c06cf9 by Brian Beggs Committed by GitHub

Merge pull request #13203 from edx/release

release 2016-08-09 master merge.
parents 05bfd80f 393531eb
......@@ -49,6 +49,8 @@ def move_to_verified_cohort(sender, instance, **kwargs): # pylint: disable=unus
'verified_cohort_name': verified_cohort_name,
'default_cohort_name': random_cohort.name
}
log.info("Queuing automatic cohorting for user '%s' in course '%s'", instance.user.username, course_key)
# Do the update with a 3-second delay in hopes that the CourseEnrollment transaction has been
# completed before the celery task runs. We want a reasonably short delay in case the learner
# immediately goes to the courseware.
......
......@@ -363,7 +363,7 @@
&:hover,
&:focus {
color: $link-color;
color: $forum-color-active-text;
background-color: $forum-color-active-thread;
}
}
......
......@@ -90,6 +90,8 @@ class CohortMembership(models.Model):
def save(self, *args, **kwargs):
self.full_clean(validate_unique=False)
log.info("Saving CohortMembership for '%s' (id=%s) in '%s'", self.user.username, self.user.id, self.course_id)
# Avoid infinite recursion if creating from get_or_create() call below.
# This block also allows middleware to use CohortMembership.get_or_create without worrying about outer_atomic
if 'force_insert' in kwargs and kwargs['force_insert'] is True:
......
......@@ -5,7 +5,7 @@
"backbone": "~1.3.2",
"backbone-validation": "~0.11.5",
"coffee-script": "1.6.1",
"edx-pattern-library": "0.16.5",
"edx-pattern-library": "0.16.6",
"edx-ui-toolkit": "1.4.1",
"jquery": "~2.2.0",
"jquery-migrate": "^1.4.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment