+ 'confirm' section for confirmation dialogues
+ implemented delete functionality * fixed several instances of 'must be an instance of unicode, not str'
This commit is contained in:
@@ -55,10 +55,10 @@ def submit_start(request):
|
||||
entry = request.db.MediaEntry()
|
||||
entry['_id'] = ObjectId()
|
||||
entry['title'] = (
|
||||
request.POST['title']
|
||||
unicode(request.POST['title'])
|
||||
or unicode(splitext(filename)[0]))
|
||||
|
||||
entry['description'] = request.POST.get('description')
|
||||
entry['description'] = unicode(request.POST.get('description'))
|
||||
entry['description_html'] = cleaned_markdown_conversion(
|
||||
entry['description'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user