Skip to content

Commit

Permalink
fix add question handler
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Jun 18, 2015
1 parent f3f46bb commit 22eef69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ def populate_obj(self, entity, name):

class Question(Form):
"""A question form."""
def __init__(self):
super(Question, self).__init__()
def __init__(self, **kwargs):
super(Question, self).__init__( **kwargs)
self.week.default = WeekField.week_default()
self.season.choices = SeasonField.season_choices()

Expand Down

0 comments on commit 22eef69

Please sign in to comment.