mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #25720 -- Made gettext() return bytestring on Python 2 if input is bytestring.
This is consistent with the behavior of Django 1.7.x and earlier.
This commit is contained in:
committed by
Tim Graham
parent
4c593eaa5f
commit
d3e3703a15
@@ -27,3 +27,6 @@ Bugfixes
|
||||
|
||||
* Fixed a data loss possibility with :class:`~django.db.models.Prefetch` if
|
||||
``to_attr`` is set to a ``ManyToManyField`` (:ticket:`25693`).
|
||||
|
||||
* Fixed a regression in 1.8 by making ``gettext()`` once again return UTF-8
|
||||
bytestrings on Python 2 if the input is a bytestring (:ticket:`25720`).
|
||||
|
||||
Reference in New Issue
Block a user