Development #42950
dj22: Response.content contient des bytes désormais
Début:
15 mai 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Ça rend mal dans les templates.
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a presque 4 ans
- Fichier 0001-dj22-decode-response.content-42950.patch 0001-dj22-decode-response.content-42950.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Serghei Mihai il y a presque 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a presque 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit dce9dcbb4bf569386d630de0caeba41c5750c9ae Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Fri May 15 11:32:39 2020 +0200 dj22: decode response.content (#42950) It seems that starting with Django 2.0 bytes are not automatically decoded when used in templates, as py3 with Django 1.11 does not show byte strings in login templates.
Mis à jour par Frédéric Péters il y a presque 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
dj22: decode response.content (#42950)
It seems that starting with Django 2.0 bytes are not automatically
decoded when used in templates, as py3 with Django 1.11 does not show
byte strings in login templates.