From 31c82f66b33d7855013511c42e5659e454dea575 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 21 Apr 2011 10:50:43 +0200 Subject: [PATCH 1/2] Use absolute imports in the staticfiles module to prevent import exceptions. Fixes #38. --- compressor/utils/staticfiles.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compressor/utils/staticfiles.py b/compressor/utils/staticfiles.py index 78756b3..b8517d8 100644 --- a/compressor/utils/staticfiles.py +++ b/compressor/utils/staticfiles.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + from django.conf import settings as django_settings from django.core.exceptions import ImproperlyConfigured From e2f4562bfca9cd628d811f82b31240107839fbbe Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 21 Apr 2011 10:52:02 +0200 Subject: [PATCH 2/2] Bumped to 0.7.1. --- compressor/__init__.py | 2 +- docs/changelog.txt | 5 +++++ docs/conf.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/compressor/__init__.py b/compressor/__init__.py index e5ef122..31ed6a6 100644 --- a/compressor/__init__.py +++ b/compressor/__init__.py @@ -1,4 +1,4 @@ -VERSION = (0, 7, 0, "f", 0) # following PEP 386 +VERSION = (0, 7, 1, "f", 0) # following PEP 386 DEV_N = None diff --git a/docs/changelog.txt b/docs/changelog.txt index 7ec3b5d..966a7c4 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -1,6 +1,11 @@ Changelog ========= +0.7.1 +----- + +- Fixed import error when using the standalone django-staticfiles app. + 0.7 --- diff --git a/docs/conf.py b/docs/conf.py index fb250f5..2fd5d60 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,7 +50,7 @@ copyright = u'2011, Django Compressor authors' # The short X.Y version. version = '0.7' # The full version, including alpha/beta/rc tags. -release = '0.7' +release = '0.7.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.