Skip to content

Commit

Permalink
[bug] fix maximum value bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kevintumbo committed May 30, 2017
1 parent 30ed885 commit ed42beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hc/front/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def clean_tags(self):


class TimeoutForm(forms.Form):
timeout = forms.IntegerField(min_value=60, max_value=0)
grace = forms.IntegerField(min_value=60, max_value=0)
timeout = forms.IntegerField(min_value=60, max_value=7257600)
grace = forms.IntegerField(min_value=60, max_value=7257600)


class AddChannelForm(forms.ModelForm):
Expand Down

0 comments on commit ed42beb

Please sign in to comment.