Moved decorator to proper util module.
This commit is contained in:
@@ -10,7 +10,7 @@ from compressor.exceptions import CompressorError, UncompressableFileError
|
||||
from compressor.filters import CompilerFilter
|
||||
from compressor.storage import default_storage
|
||||
from compressor.utils import get_class, staticfiles
|
||||
from compressor.utils.cache import cached_property
|
||||
from compressor.utils.decorators import cached_property
|
||||
|
||||
class Compressor(object):
|
||||
"""
|
||||
|
||||
@@ -4,7 +4,7 @@ from django.utils.encoding import smart_unicode
|
||||
|
||||
from compressor.exceptions import ParserError
|
||||
from compressor.parser import ParserBase
|
||||
from compressor.utils.cache import cached_property
|
||||
from compressor.utils.decorators import cached_property
|
||||
|
||||
|
||||
class BeautifulSoupParser(ParserBase):
|
||||
|
||||
@@ -4,7 +4,7 @@ from django.core.exceptions import ImproperlyConfigured
|
||||
|
||||
from compressor.exceptions import ParserError
|
||||
from compressor.parser import ParserBase
|
||||
from compressor.utils.cache import cached_property
|
||||
from compressor.utils.decorators import cached_property
|
||||
|
||||
|
||||
class Html5LibParser(ParserBase):
|
||||
|
||||
@@ -4,7 +4,7 @@ from django.utils.encoding import smart_unicode
|
||||
|
||||
from compressor.exceptions import ParserError
|
||||
from compressor.parser import ParserBase
|
||||
from compressor.utils.cache import cached_property
|
||||
from compressor.utils.decorators import cached_property
|
||||
|
||||
|
||||
class LxmlParser(ParserBase):
|
||||
|
||||
Reference in New Issue
Block a user