diff --git a/common/djangoapps/status/status.py b/common/djangoapps/status/status.py index 79790ec..2b33cf5 100644 --- a/common/djangoapps/status/status.py +++ b/common/djangoapps/status/status.py @@ -7,8 +7,6 @@ import logging import os import sys -from util.cache import cache - log = logging.getLogger(__name__) def get_site_status_msg(): diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index 2478037..2976b34 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -10,9 +10,12 @@ from django.core.urlresolvers import reverse import branding # app that handles site status messages from status.status import get_site_status_msg -site_status_msg = get_site_status_msg() %> +<%block cached="False"> +<% +site_status_msg = get_site_status_msg() +%> % if site_status_msg: <div class="site-status"> <div class="inner-wrapper"> @@ -21,7 +24,7 @@ site_status_msg = get_site_status_msg() </div> </div> % endif - +</%block> % if course: