More admin

This commit is contained in:
Alexandre Iooss 2019-07-16 15:42:31 +02:00
parent b63aaf4150
commit 740b468547
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
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(