Commit 75b38e3d authored by Robert's avatar Robert

Fixed editing content

parent 50961f20
......@@ -13,7 +13,8 @@ class Content(core.models.Model):
is_conversation = False
# FIXME: remove when django bug #28988 is fixed
poll = models.OneToOneField('polls.WorkaroundPoll', null=True, related_name='content')
poll = models.OneToOneField(
'polls.WorkaroundPoll', null=True, blank=True, related_name='content')
title = models.CharField(max_length=255)
image = models.ForeignKey('images.Image', blank=True, null=True, on_delete=models.SET_NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment