Fixed typo in API post_entry
This commit is contained in:
parent
4504dbba9b
commit
999f91eb8a
@ -57,7 +57,7 @@ def post_entry(request):
|
|||||||
entry.title = unicode(request.POST.get('title')
|
entry.title = unicode(request.POST.get('title')
|
||||||
or splitext(media_file.filename)[0])
|
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.license = unicode(request.POST.get('license', ''))
|
||||||
|
|
||||||
entry.uploader = request.user.id
|
entry.uploader = request.user.id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user