return False
@register.filter
-def region_ou_service(implantation):
- if implantation.id == 15:
- return u"Services centraux de Montréal (SCM)"
- if implantation.id == 19:
- return u"Services centraux de Paris (SCP)"
- return implantation.region
-
-@register.filter
def basename(path):
return os.path.basename(path)