Bug #58688
ajouter unlazy sur le filtre unaccent
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
18 novembre 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Actuellement on fait juste :
@register.filter def unaccent(value): if not value: return '' return force_text(unicodedata.normalize('NFKD', value).encode('ascii', 'ignore'))
il manque un value = unlazy(value) au début
Fichiers
Révisions associées
Historique
Mis à jour par Thomas Noël il y a plus de 2 ans
- Fichier 0001-templatetags-handle-lazy-values-on-unaccent-filter-5.patch 0001-templatetags-handle-lazy-values-on-unaccent-filter-5.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Paul Marillonnet il y a plus de 2 ans
- Statut changé de Solution proposée à Solution validée
Ok.
Mis à jour par Thomas Noël il y a plus de 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit b78fdaa02ce7328efefdc161b64ba2f4ddccd51d Author: Thomas NOEL <tnoel@entrouvert.com> Date: Thu Nov 18 10:20:21 2021 +0100 templatetags: handle lazy values on unaccent filter (#58688)
Mis à jour par Frédéric Péters il y a plus de 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
templatetags: handle lazy values on unaccent filter (#58688)