Basic creating, editing and updating of organizers

This commit is contained in:
Raphael Michel
2015-05-24 13:58:30 +02:00
parent 1ed82a2c0e
commit 14d1a12a91
11 changed files with 255 additions and 18 deletions

View File

@@ -298,7 +298,7 @@ class Organizer(Versionable):
name = models.CharField(max_length=200,
verbose_name=_("Name"))
slug = models.SlugField(max_length=50,
unique=True, db_index=True,
db_index=True,
verbose_name=_("Slug"))
permitted = models.ManyToManyField(User, through='OrganizerPermission',
related_name="organizers")