From c38015cb6af3cc87a8fa8dabcf8e89b869dac936 Mon Sep 17 00:00:00 2001 From: Rich Leland Date: Tue, 11 Oct 2011 13:15:35 -0400 Subject: [PATCH] Re-added import statement that allows offline compression again. Refs #131. --- compressor/management/commands/compress.py | 1 + 1 file changed, 1 insertion(+) diff --git a/compressor/management/commands/compress.py b/compressor/management/commands/compress.py index 4132224..ed71816 100644 --- a/compressor/management/commands/compress.py +++ b/compressor/management/commands/compress.py @@ -13,6 +13,7 @@ from django.core.management.base import NoArgsCommand, CommandError from django.template import Context, Template, TemplateDoesNotExist, TemplateSyntaxError from django.utils.datastructures import SortedDict from django.utils.importlib import import_module +from django.template.loader import get_template from django.template.loader_tags import ExtendsNode, BlockNode, BLOCK_CONTEXT_KEY try: