+ '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:
Mark Holmquist
2011-08-22 02:57:40 -07:00
parent a8327519eb
commit 08750772ea
7 changed files with 26 additions and 15 deletions

View File

@@ -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'])