[2.0.x] Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str.

Regression in df41b5a05d.

Backport of 01384ce36c from master
This commit is contained in:
Tilmann Becker 2017-12-19 23:50:23 +01:00 committed by Tim Graham
parent 6f86d8bc69
commit c99ab335a1
3 changed files with 20 additions and 2 deletions

View file

@ -31,3 +31,6 @@ Bugfixes
trailing zeros in the fractional part truncated (:ticket:`28915`).
* Fixed crash in the ``testserver`` command startup (:ticket:`28941`).
* Fixed crash when coercing a translatable URL pattern to ``str``
(:ticket:`28947`).