Skip to content

Commit 7cbca67

Browse files
authored
Merge pull request #260 from PyCQA/python2_unicode_compatible
Path removed django.utils.encoding.python_2_unicode_compatible()
2 parents 23040e3 + 8071bfd commit 7cbca67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pylint_django/tests/input/func_model_no_explicit_unicode_str_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# pylint: disable=missing-docstring
77

88
from django.db import models
9-
from django.utils.encoding import python_2_unicode_compatible
9+
from six import python_2_unicode_compatible
1010

1111

1212
@python_2_unicode_compatible

pylint_django/tests/input/func_noerror_unicode_py2_compatible.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
See https://github.com/PyCQA/pylint-django/issues/10
66
"""
77
# pylint: disable=missing-docstring
8-
from django.utils.encoding import python_2_unicode_compatible
8+
from six import python_2_unicode_compatible
99
from django.db import models
1010

1111

0 commit comments

Comments
 (0)