More admin
This commit is contained in:
parent
b63aaf4150
commit
740b468547
4 changed files with 51 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue