License "all rights reserved" default should be None/NULL, not empty string
This commit is contained in:
@@ -75,7 +75,7 @@ def edit_media(request, media):
|
||||
media.description_html = cleaned_markdown_conversion(
|
||||
media.description)
|
||||
|
||||
media.license = unicode(request.POST.get('license', ''))
|
||||
media.license = unicode(request.POST.get('license')) or None
|
||||
|
||||
media.slug = unicode(request.POST['slug'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user