Mercurial > agora
diff apps/treecomments/forms.py @ 196:134f726fd62c
Removed extrawhitespaces and moved comments template files to templates folder
author | Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Thu, 04 Jul 2013 15:45:50 +0500 |
parents | 50ba20441122 |
children |
line wrap: on
line diff
--- a/apps/treecomments/forms.py Tue Jul 02 02:09:21 2013 +0500 +++ b/apps/treecomments/forms.py Thu Jul 04 15:45:50 2013 +0500 @@ -5,11 +5,9 @@ class TreeCommentsForm(CommentForm): parent = forms.ModelChoiceField(queryset=TreeComments.objects.all(), required=False, widget=forms.HiddenInput) - def get_comment_model(self): return TreeComments - def get_comment_create_data(self): data = super(TreeCommentsForm,self).get_comment_create_data() data['parent'] = self.cleaned_data['parent'] - return data \ No newline at end of file + return data \ No newline at end of file