From b5ad58e68c08d7ba19f7eb6db95a0fb1e1413733 Mon Sep 17 00:00:00 2001 From: Denys Zhdanov Date: Sun, 25 Aug 2024 22:12:05 +0200 Subject: [PATCH] Monkeypatching tagging --- webapp/graphite/events/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/graphite/events/models.py b/webapp/graphite/events/models.py index b00901ef9..3f8508171 100644 --- a/webapp/graphite/events/models.py +++ b/webapp/graphite/events/models.py @@ -7,6 +7,8 @@ import six django.utils.encoding.python_2_unicode_compatible = six.python_2_unicode_compatible django.utils.six = six +from django.utils.encoding import smart_str +django.utils.encoding.smart_text = smart_str from tagging.models import Tag # noqa: E402 from graphite.events.compat import ModelTaggedItemManager # noqa: E402