From 9f1278d0ce293f3f61d8dedd95979c3029b57777 Mon Sep 17 00:00:00 2001 From: hernani Date: Fri, 30 Jul 2010 16:04:13 +0000 Subject: [PATCH] Don't make the wiki checkbox on by default on answers form if question is also wiki. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@554 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/forms/qanda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forum/forms/qanda.py b/forum/forms/qanda.py index 672ffd8..c3bf4c4 100644 --- a/forum/forms/qanda.py +++ b/forum/forms/qanda.py @@ -168,8 +168,8 @@ class AnswerForm(forms.Form): if settings.WIKI_ON: self.fields['wiki'] = WikiField() - if question.nis.wiki: - self.fields['wiki'].initial = True + #if question.nis.wiki: + # self.fields['wiki'].initial = True class RetagQuestionForm(forms.Form): -- 2.39.5