mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.7.x] Fixed #22565 -- Prevented pgettext_lazy crash with bytestring input
Thanks ygbo for the report.
Backport of 142c27218 from master.
This commit is contained in:
@@ -11,3 +11,6 @@ Bugfixes
|
||||
|
||||
* Made the ``year_lookup_bounds_for_datetime_field`` Oracle backend method
|
||||
Python 3 compatible (`#22551 <http://code.djangoproject.com/ticket/22551>`_).
|
||||
|
||||
* Fixed ``pgettext_lazy`` crash when receiving bytestring content on Python 2
|
||||
(`#22565 <http://code.djangoproject.com/ticket/22565>`_).
|
||||
|
||||
Reference in New Issue
Block a user