diff options
Diffstat (limited to 'app/lib/django_comments')
-rw-r--r-- | app/lib/django_comments/abstracts.py | 2 | ||||
-rw-r--r-- | app/lib/django_comments/models.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/django_comments/abstracts.py b/app/lib/django_comments/abstracts.py index 4fbb94a..f4ff362 100644 --- a/app/lib/django_comments/abstracts.py +++ b/app/lib/django_comments/abstracts.py @@ -6,7 +6,7 @@ from django.contrib.contenttypes.models import ContentType from django.contrib.sites.models import Site from django.db import models from django.utils import timezone -from django.utils.encoding import python_2_unicode_compatible +from six import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ try: from django.urls import reverse diff --git a/app/lib/django_comments/models.py b/app/lib/django_comments/models.py index ebf1bc5..204cf2e 100644 --- a/app/lib/django_comments/models.py +++ b/app/lib/django_comments/models.py @@ -1,7 +1,7 @@ +from six import python_2_unicode_compatible from django.conf import settings from django.db import models from django.utils import timezone -from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from .abstracts import ( |