Projet

Général

Profil

Development #40599

ajouter le filtre Django "decimal" (tel que celui de wcs)

Ajouté par Thomas Noël il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
10 mars 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

ajouter :
  • foobar|decimal => renvoie le decimal
  • foobar|decimal:"format" => decimal + floatformat

tel que le filtre présent dans wcs http://git.entrouvert.org/wcs.git/tree/wcs/qommon/templatetags/qommon.py#n150


Fichiers

Révisions associées

Révision 75957c0d (diff)
Ajouté par Thomas Noël il y a environ 4 ans

add decimal templatetag (#40599)

Historique

#2

Mis à jour par Thomas Noël il y a environ 4 ans

#3

Mis à jour par Frédéric Péters il y a environ 4 ans

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

Mis à jour par Thomas Noël il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 75957c0d23a2d466c89f7181fe1ff04666cff6d0
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Tue Mar 10 09:51:21 2020 +0100

    add decimal templatetag (#40599)

#5

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF