aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/user_pages/views.py
diff options
context:
space:
mode:
authorMark Holmquist <marktraceur@gmail.com>2011-08-22 02:57:40 -0700
committerMark Holmquist <marktraceur@gmail.com>2011-08-22 02:57:40 -0700
commit08750772eaf140266d1be0aac5024f581664012b (patch)
tree88064c0f18512de872d77804aceff7c387fb4de9 /mediagoblin/user_pages/views.py
parenta8327519ebcb9ea7b3b8362cda989a130a5813d1 (diff)
downloadmediagoblin-08750772eaf140266d1be0aac5024f581664012b.tar.lz
mediagoblin-08750772eaf140266d1be0aac5024f581664012b.tar.xz
mediagoblin-08750772eaf140266d1be0aac5024f581664012b.zip
+ 'confirm' section for confirmation dialogues
+ implemented delete functionality * fixed several instances of 'must be an instance of unicode, not str'
Diffstat (limited to 'mediagoblin/user_pages/views.py')
-rw-r--r--mediagoblin/user_pages/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/user_pages/views.py b/mediagoblin/user_pages/views.py
index 3677c134..bb789f42 100644
--- a/mediagoblin/user_pages/views.py
+++ b/mediagoblin/user_pages/views.py
@@ -129,7 +129,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['comment_content']
+ comment['content'] = unicode(request.POST['comment_content'])
comment['content_html'] = cleaned_markdown_conversion(comment['content'])