mirror of
https://github.com/django/django.git
synced 2025-08-18 17:50:58 +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:
parent
35b7dd4ddb
commit
61fd00d4fd
3 changed files with 21 additions and 5 deletions
|
@ -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>`_).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue