Merge branch 'Qwann/SmallFixes' into 'master'

Activity parent nullable

- Fix db error if an activity doesn't have a parent (activity template).

See merge request !18
This commit is contained in:
Aurélien Delobelle 2017-07-25 15:04:12 +02:00
commit 4e99a09165

View file

@ -167,6 +167,7 @@ class Activity(AbstractActivityTemplate):
ActivityTemplate,
related_name="children",
blank=True,
null=True,
)
staff = models.ManyToManyField(
User,