corrected models

This commit is contained in:
Ju Luiselli 2020-02-08 14:16:51 +01:00
parent 183801ae3f
commit 35720d3d96

View file

@ -32,10 +32,7 @@ class Profile(models.Model):
def __str__(self):
return self.full_name
def birthday():
return self.birth_date.strftime("%d%m")
class Department(models.Model):
name = models.CharField(max_length=255, verbose_name=_("nom du département"))