Fixed typo in API post_entry
authorJoar Wandborg <git@wandborg.com>
Sat, 15 Sep 2012 14:54:14 +0000 (16:54 +0200)
committerJoar Wandborg <git@wandborg.com>
Sat, 15 Sep 2012 14:54:14 +0000 (16:54 +0200)
mediagoblin/plugins/api/views.py

index 5508f8b0ad4595a6dc45e52f5fed0334180535ea..6a58fabff4195a0cd0d7cba24982f57186267795 100644 (file)
@@ -57,7 +57,7 @@ def post_entry(request):
     entry.title = unicode(request.POST.get('title')
             or splitext(media_file.filename)[0])
 
-    entry.descriptions = unicode(request.POST.get('description'))
+    entry.description = unicode(request.POST.get('description'))
     entry.license = unicode(request.POST.get('license', ''))
 
     entry.uploader = request.user.id