corrected models
This commit is contained in:
parent
183801ae3f
commit
35720d3d96
1 changed files with 1 additions and 4 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue