diff --git a/figures/sites.py b/figures/sites.py index 9f987438..e8be5344 100644 --- a/figures/sites.py +++ b/figures/sites.py @@ -134,7 +134,7 @@ def get_site_for_course(course_id): site = None else: # Operating in single site / standalone mode, return the default site - site = Site.objects.get(id=settings.SITE_ID) + site = default_site() return site