Created
January 21, 2010 16:37
-
-
Save beniwohli/282928 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/threadedcomments/forms.py b/threadedcomments/forms.py | |
index 4f64699..cdcd4c8 100644 | |
--- a/threadedcomments/forms.py | |
+++ b/threadedcomments/forms.py | |
@@ -16,6 +16,8 @@ class ThreadedCommentForm(CommentForm): | |
initial.update({'parent': self.parent}) | |
super(ThreadedCommentForm, self).__init__(target_object, data=data, | |
initial=initial) | |
+ self.fields.keyOrder.remove('title') | |
+ self.fields.keyOrder.insert(self.fields.keyOrder.index('comment'), 'title') | |
def get_comment_model(self): | |
return ThreadedComment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment