diff options
author | Claude Paroz <claude@2xlibre.net> | 2016-11-19 21:54:19 +0100 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2017-01-18 13:44:34 +0100 |
commit | f3c43ad1fd9556f0fd026a5dfa93c67a5cf186ca (patch) | |
tree | 65ca40d4527b377845cdd382456383bf97caafa6 /django/forms/utils.py | |
parent | d7b9aaa366dd54ecc3142c588162e3adc7c2f7ac (diff) | |
download | django-f3c43ad1fd9556f0fd026a5dfa93c67a5cf186ca.tar.gz |
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
Diffstat (limited to 'django/forms/utils.py')
-rw-r--r-- | django/forms/utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/django/forms/utils.py b/django/forms/utils.py index 3e6991ea32..3a86f419df 100644 --- a/django/forms/utils.py +++ b/django/forms/utils.py @@ -4,7 +4,7 @@ import sys from django.conf import settings from django.core.exceptions import ValidationError # backwards compatibility from django.utils import six, timezone -from django.utils.encoding import force_text, python_2_unicode_compatible +from django.utils.encoding import force_text from django.utils.html import escape, format_html, format_html_join, html_safe from django.utils.translation import ugettext_lazy as _ @@ -48,7 +48,6 @@ def flatatt(attrs): @html_safe -@python_2_unicode_compatible class ErrorDict(dict): """ A collection of errors that knows how to display itself in various formats. @@ -81,7 +80,6 @@ class ErrorDict(dict): @html_safe -@python_2_unicode_compatible class ErrorList(UserList, list): """ A collection of errors that knows how to display itself in various formats. |