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
2
2
from os .path import normpath , join
3
3
try :
4
4
import threading
11
11
from django .contrib .staticfiles import finders , storage
12
12
from django .contrib .staticfiles .templatetags import staticfiles
13
13
14
- from django .utils .translation import ungettext , ugettext_lazy as _
14
+ from django .utils .encoding import python_2_unicode_compatible
15
15
from django .utils .functional import LazyObject
16
+ from django .utils .translation import ungettext , ugettext_lazy as _
16
17
try :
17
18
from collections import OrderedDict
18
19
except ImportError :
22
23
from debug_toolbar .utils import ThreadCollector
23
24
24
25
26
+ @python_2_unicode_compatible
25
27
class StaticFile (object ):
26
28
"""
27
29
Representing the different properties of a static file.
You can’t perform that action at this time.
0 commit comments