Skip to content

Commit

Permalink
Setting the fulfillment to 0 when creating an instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Álvarez committed Nov 19, 2015
1 parent 9f5e7e5 commit 2600138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def save(self, commit=True):


class PromiseUpdateForm(forms.ModelForm):
fulfillment = forms.FloatField()
fulfillment = forms.FloatField(initial=0)

def __init__(self, *args, **kwargs):
super(PromiseUpdateForm, self).__init__(*args, **kwargs)
Expand Down

0 comments on commit 2600138

Please sign in to comment.