X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/47e6d542650e61e998e8b8d2195755c3eeec2037..9fb50c56dfb3588d8694c3d06061ec40572b8002:/admin.py?ds=inline diff --git a/admin.py b/admin.py index 49134e1..64893d5 100644 --- a/admin.py +++ b/admin.py @@ -249,8 +249,6 @@ class PageAdmin(NodeAdmin): for container_name, container_content_type in contentreference_containers: if ('contentreference_container_%s' % container_name) in form.cleaned_data: content = form.cleaned_data[('contentreference_container_%s' % container_name)] - if content == None: - continue contentreference, created = page.contentreferences.get_or_create(name=container_name, defaults={'content': content}) if not created: contentreference.content = content