1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-07-06 18:54:00 +02:00

Add author note

This commit is contained in:
Yohann D'ANELLO
2020-02-10 17:27:30 +01:00
parent 11f0eff4d4
commit ea821483d0
4 changed files with 56 additions and 25 deletions

View File

@ -16,6 +16,11 @@ class Auteur(models.Model):
verbose_name=_('name'),
)
note = models.IntegerField(
default=0,
verbose_name=_("note"),
)
def __str__(self):
return self.name