Skip to content

Commit

Permalink
Path removed django.utils.encoding.python_2_unicode_compatible()
Browse files Browse the repository at this point in the history
- causes no-name-in-module errors.
- has been removed in Django 3.0
- is alias of six.python_2_unicode_compatible()
  • Loading branch information
atodorov committed Feb 10, 2020
1 parent 23040e3 commit 8071bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# pylint: disable=missing-docstring

from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from six import python_2_unicode_compatible


@python_2_unicode_compatible
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
See https://github.com/PyCQA/pylint-django/issues/10
"""
# pylint: disable=missing-docstring
from django.utils.encoding import python_2_unicode_compatible
from six import python_2_unicode_compatible
from django.db import models


Expand Down

0 comments on commit 8071bfd

Please sign in to comment.