]> git.parisson.com Git - teleforma.git/commitdiff
Add "private" field to Seminar
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 10 Jun 2014 11:27:15 +0000 (13:27 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 10 Jun 2014 11:27:15 +0000 (13:27 +0200)
teleforma/models/pro.py

index 7cc62f1f7ef09c261c1c11159909578103735458..77f57f002847ac75c5ed28d5facf34cc47407e62 100755 (executable)
@@ -103,6 +103,7 @@ class Seminar(ClonableMixin, Displayable):
     date_modified   = models.DateTimeField(_('date modified'), auto_now=True)
     period          = ForeignKey('Period', related_name='seminar', verbose_name=_('period'),
                                  null=True, blank=True, on_delete=models.SET_NULL)
+    private         = models.BooleanField(_('private'), default=False)
 
     objects = DisplayableManager()