mirror of
https://github.com/django/django.git
synced 2025-09-22 10:12:43 +00:00
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
This commit is contained in:
parent
e63d98b7be
commit
c716fe8782
111 changed files with 305 additions and 1296 deletions
|
@ -12,11 +12,6 @@ from django.utils.safestring import SafeText, mark_safe
|
|||
from django.utils.six.moves import html_entities
|
||||
from django.utils.translation import pgettext, ugettext as _, ugettext_lazy
|
||||
|
||||
if six.PY2:
|
||||
# Import force_unicode even though this module doesn't use it, because some
|
||||
# people rely on it being here.
|
||||
from django.utils.encoding import force_unicode # NOQA
|
||||
|
||||
|
||||
@keep_lazy_text
|
||||
def capfirst(x):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue