summaryrefslogtreecommitdiffstats
path: root/forum/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/forms.py')
-rw-r--r--forum/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/forum/forms.py b/forum/forms.py
index ad2c5bac..ad8a676a 100644
--- a/forum/forms.py
+++ b/forum/forms.py
@@ -176,6 +176,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