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:
David Ormsbee
2012-03-15 14:45:27 -04:00
parent 11f4820704
commit e37eb49065
3 changed files with 20 additions and 2 deletions

View File

@@ -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