Development #48586
API : augmenter la taille de la chaine autorisée sur le paramètres 'slots'
Début:
16 novembre 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
slots = StringOrListField(required=True, child=serializers.CharField(max_length=64, allow_blank=False))
A vérifier comment est utilisé ce 64 parce que StringOrListField est une bidouille, mais en tous cas ça peut coincer : #48519.
Fichiers
Révisions associées
Historique
Mis à jour par Valentin Deniaud il y a plus de 3 ans
- Fichier 0001-api-match-StringOrListField-max-length-with-model-de.patch 0001-api-match-StringOrListField-max-length-with-model-de.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Pas de problème à faire correspondre la taille max d'un slug définie ici à celle définie dans le modèle, donc 160.
Mis à jour par Thomas Noël il y a plus de 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Valentin Deniaud il y a plus de 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 221a4051f9039068b3b75d7641f11301d6a46d50 Author: Valentin Deniaud <vdeniaud@entrouvert.com> Date: Thu Dec 17 14:27:57 2020 +0100 api: match StringOrListField max length with model definition (#48586)
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
api: match StringOrListField max length with model definition (#48586)