1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-08-17 11:07:12 +02:00

More admin

This commit is contained in:
Alexandre Iooss
2019-07-16 15:42:31 +02:00
parent b63aaf4150
commit 740b468547
4 changed files with 51 additions and 1 deletions

View File

@@ -23,6 +23,9 @@ class ActivityType(models.Model):
verbose_name = _("activity type")
verbose_name_plural = _("activity types")
def __str__(self):
return self.name
class Activity(models.Model):
name = models.CharField(