Tags can now be passed in for media entries submitted via the api plugin
authorTryggvi Bjorgvinsson <tryggvib@fsfi.is>
Thu, 5 Dec 2013 22:56:53 +0000 (22:56 +0000)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 10 Jul 2014 16:05:29 +0000 (11:05 -0500)
mediagoblin/plugins/api/views.py

index 69fae7bbbb8288e285657e774db1b6898fe784af..e8af7988497bc648d25c0fe192977453201af2af 100644 (file)
@@ -64,6 +64,7 @@ def post_entry(request):
             title=unicode(request.form.get('title')),
             description=unicode(request.form.get('description')),
             license=unicode(request.form.get('license', '')),
+            tags_string=unicode(request.form.get('tags', '')),
             upload_limit=upload_limit, max_file_size=max_file_size,
             callback_url=callback_url)