diff options
Diffstat (limited to 'forum/forms.py')
-rw-r--r-- | forum/forms.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/forum/forms.py b/forum/forms.py index f22763f7..5d70fcff 100644 --- a/forum/forms.py +++ b/forum/forms.py @@ -182,6 +182,7 @@ class EditQuestionForm(forms.Form): tags = TagNamesField() summary = SummaryField() + def __init__(self, question, revision, *args, **kwargs): super(EditQuestionForm, self).__init__(*args, **kwargs) self.fields['title'].initial = revision.title |