Skip to content

Commit

Permalink
Fix issue with add question
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Jun 14, 2015
1 parent c78108f commit 03a9a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ def populate_obj(self, entity, name):
class Question(Form):
"""A question form."""
def __init__(self):
super(Question, self).__init__()
self.week.default = WeekField.week_default()
self.season.choices = SeasonField.season_choices()
super(Question, self).__init__()

answer = FilmField('Film', [validators.Required()], id='film')
clues = CluesFieldList(ClueFormField(ClueForm), min_entries=4)
Expand Down

0 comments on commit 03a9a26

Please sign in to comment.