License "all rights reserved" default should be None/NULL, not empty string

This commit is contained in:
Christopher Allan Webber
2012-01-21 16:40:39 -06:00
parent 3c351460e1
commit 2788e6a164
5 changed files with 5 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ def submit_start(request):
entry.description_html = cleaned_markdown_conversion(
entry.description)
entry.license = unicode(request.POST.get('license', ''))
entry.license = unicode(request.POST.get('license', "")) or None
entry.uploader = request.user._id