diff options
author | Joar Wandborg <git@wandborg.com> | 2011-07-07 22:45:51 +0200 |
---|---|---|
committer | Joar Wandborg <git@wandborg.com> | 2011-07-07 22:45:51 +0200 |
commit | f646f5d36df0730a8c34019dfcc37cca31cc6bb6 (patch) | |
tree | 04f5a46ec57ce03f401986ce01f9f89fd4db2425 /mediagoblin/user_pages/views.py | |
parent | af2fcba5c4ce16bde1a2267b95803bc2afc9e572 (diff) | |
download | mediagoblin-f646f5d36df0730a8c34019dfcc37cca31cc6bb6.tar.lz mediagoblin-f646f5d36df0730a8c34019dfcc37cca31cc6bb6.tar.xz mediagoblin-f646f5d36df0730a8c34019dfcc37cca31cc6bb6.zip |
Updated `MediaCommentForm.field_comment` => `MediaCommentForm.comment_content`
* Also changed file encoding of `user_pages/forms.py` from dos to unix.
Diffstat (limited to 'mediagoblin/user_pages/views.py')
-rw-r--r-- | mediagoblin/user_pages/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/user_pages/views.py b/mediagoblin/user_pages/views.py index ca1060a3..a3172ebd 100644 --- a/mediagoblin/user_pages/views.py +++ b/mediagoblin/user_pages/views.py @@ -124,7 +124,7 @@ def media_post_comment(request): comment = request.db.MediaComment() comment['media_entry'] = ObjectId(request.matchdict['media']) comment['author'] = request.user['_id'] - comment['content'] = request.POST['field_comment'] + comment['content'] = request.POST['comment_content'] comment['content_html'] = cleaned_markdown_conversion(comment['content']) |