[TELE-1607]add filter comprehensive_list
gitea/imio-teleservices-templatetags/pipeline/head This commit looks good
Details
gitea/imio-teleservices-templatetags/pipeline/head This commit looks good
Details
This commit is contained in:
parent
094008f9f4
commit
7e35838003
|
@ -272,6 +272,11 @@ def distinct_list(value):
|
||||||
return list(set(value))
|
return list(set(value))
|
||||||
|
|
||||||
|
|
||||||
|
@register.filter
|
||||||
|
def comprehensive_list(liste: list, key: str):
|
||||||
|
return [x[key] for x in liste]
|
||||||
|
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
# LOCATION DE SALLE #
|
# LOCATION DE SALLE #
|
||||||
#####################
|
#####################
|
||||||
|
|
Loading…
Reference in New Issue