aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--servo/lib/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/lib/utils.py b/servo/lib/utils.py
index f2e0c21..6d1ee0b 100644
--- a/servo/lib/utils.py
+++ b/servo/lib/utils.py
@@ -3,6 +3,7 @@
import json
import subprocess
from django.db.models import Model
+from django.core.cache import cache
from django.http import HttpResponse
from django.core.serializers.json import DjangoJSONEncoder
@@ -52,7 +53,6 @@ def cache_getset(k, v):
Shortcut for getting and setting cache
v should be a callable
"""
- from django.core.cache import cache
if cache.get(k):
return cache.get(k)