1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-07-07 03:04:01 +02:00

Remove Clef Model

This commit is contained in:
Yohann D'ANELLO
2020-02-09 17:55:51 +01:00
parent 0f0e5fcd25
commit 87063e267e
3 changed files with 1 additions and 39 deletions

View File

@ -50,31 +50,6 @@ class User(AbstractUser):
return last_year and self in last_year.members.all()
class Clef(models.Model):
name = models.CharField(
verbose_name=_('name'),
max_length=255,
unique=True,
)
owner = models.ForeignKey(
'User',
on_delete=models.PROTECT,
verbose_name=_('owner'),
blank=True,
null=True,
)
comment = models.CharField(
verbose_name=_('comment'),
max_length=255,
null=True,
blank=True,
)
class Meta:
verbose_name = _('key')
verbose_name_plural = _('keys')
class Adhesion(models.Model):
starting_in = models.IntegerField(
verbose_name=_('starting in'),