From 3d5a54a91dcc2013cf6949311c6efa12b19f3897 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 30 Sep 2015 02:09:16 +0300 Subject: Cleanup --- servo/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servo/lib/utils.py') 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) -- cgit v1.2.3