Add profiles to Trombi

This commit is contained in:
Skia
2017-05-12 10:25:26 +02:00
parent d88ffae51b
commit adeda41b52
6 changed files with 85 additions and 8 deletions

View File

@ -57,6 +57,7 @@ class Trombi(models.Model):
"able to make comments anymore."))
max_chars = models.IntegerField(_('maximum characters'), default=400,
help_text=_('Maximum number of characters allowed in a comment.'))
show_profiles = models.BooleanField(_("show users profiles to each other"), default=True)
club = models.OneToOneField(Club, related_name='trombi')
objects = TrombiManager()