File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1- from __future__ import absolute_import
1+ from __future__ import absolute_import , unicode_literals
22from os .path import normpath , join
33try :
44 import threading
1111from django .contrib .staticfiles import finders , storage
1212from django .contrib .staticfiles .templatetags import staticfiles
1313
14- from django .utils .translation import ungettext , ugettext_lazy as _
14+ from django .utils .encoding import python_2_unicode_compatible
1515from django .utils .functional import LazyObject
16+ from django .utils .translation import ungettext , ugettext_lazy as _
1617try :
1718 from collections import OrderedDict
1819except ImportError :
2223from debug_toolbar .utils import ThreadCollector
2324
2425
26+ @python_2_unicode_compatible
2527class StaticFile (object ):
2628 """
2729 Representing the different properties of a static file.
You can’t perform that action at this time.
0 commit comments