def _occupe_par(self, obj):
"""Formatte la méthode Poste.occupe_par() pour l'admin"""
+ import pdb; pdb.set_trace()
+
output = u"Vacant"
- if obj.date_fin is not None and obj.date_fin < datetime.date.now():
+ if obj.date_fin is not None and obj.date_fin < datetime.date.today():
return u"s/o"
employes = obj.occupe_par()
if employes: