Skip to content

Commit

Permalink
Make implication and author optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoranPandovski committed Sep 28, 2020
1 parent 5dde85c commit b68bfe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/fok/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ class Meta:

user = models.ForeignKey(get_user_model(), on_delete=models.SET_NULL, null=True, related_name='pledges')
campaign = models.ForeignKey(Campaign, on_delete=models.SET_NULL, null=True, related_name='pledges')
implication = models.FloatField(verbose_name='Threshold')
author_position = models.ManyToManyField(EnabledAuthorPosition)
implication = models.FloatField(verbose_name='Threshold', blank=True, default=None)
author_position = models.ManyToManyField(EnabledAuthorPosition, blank=True, default=None)
allow_public_name = models.BooleanField(default=False)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
Expand Down

0 comments on commit b68bfe7

Please sign in to comment.