Shift wiki and course.xml caching to use newly defined 'general' cache, separate from sessions left in 'default'
--HG-- branch : cache_separation
This commit is contained in:
@@ -11,10 +11,11 @@ from lxml import etree
|
||||
|
||||
try: # This lets us do __name__ == ='__main__'
|
||||
from django.conf import settings
|
||||
from django.core.cache import cache
|
||||
|
||||
from student.models import UserProfile
|
||||
from student.models import UserTestGroup
|
||||
from mitxmako.shortcuts import render_to_response, render_to_string
|
||||
from util.cache import cache
|
||||
except:
|
||||
settings = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user