Commit b73bf358 by Brian Beggs

fixed snapshot functionality for RestrictedCrouse embargo, select_related is now…

fixed snapshot functionality for RestrictedCrouse embargo, select_related is now passed the proper hint. TNL-3452
parent 42c02c80
......@@ -221,7 +221,7 @@ class RestrictedCourse(models.Model):
"""
country_rules_for_course = (
CountryAccessRule.objects
).select_related('restricted_country').filter(restricted_course=self)
).select_related('country').filter(restricted_course=self)
return {
'enroll_msg': self.enroll_msg_key,
......
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