Projet

Général

Profil

Development #42950

dj22: Response.content contient des bytes désormais

Ajouté par Benjamin Dauvergne il y a presque 4 ans. Mis à jour il y a presque 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
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

Révision dce9dcbb (diff)
Ajouté par Benjamin Dauvergne il y a presque 4 ans

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.

Historique

#1

Mis à jour par Benjamin Dauvergne il y a presque 4 ans

#2

Mis à jour par Serghei Mihai il y a presque 4 ans

  • Statut changé de Solution proposée à Solution validée
#3

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.
#4

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

Formats disponibles : Atom PDF