Skip to content

Commit e4f01cd

Browse files
authored
Monkeypatching tagging (#2857)
* Monkeypatching tagging * taming linter * did we fix tests? * no, we don't
1 parent 66dcd48 commit e4f01cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webapp/graphite/events/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
import six
88
django.utils.encoding.python_2_unicode_compatible = six.python_2_unicode_compatible
99
django.utils.six = six
10+
from django.utils.encoding import smart_str # noqa: E402
11+
django.utils.encoding.smart_text = smart_str
1012
from tagging.models import Tag # noqa: E402
1113

1214
from graphite.events.compat import ModelTaggedItemManager # noqa: E402

0 commit comments

Comments
 (0)