X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/d8c7acf5c1153bb75c51b632ee6bf2d913448a3a..8efb262f2f1a58b3ce30d16d376bc64a56a24119:/admin.py?ds=sidebyside diff --git a/admin.py b/admin.py index 5685f14..9e991d9 100644 --- a/admin.py +++ b/admin.py @@ -253,7 +253,7 @@ class PageAdmin(NodeAdmin): contentreference = page.contentreferences.get(name=container_name) except ContentReference.DoesNotExist: contentreference = ContentReference(name=container_name, page=page, content_type=container_content_type) - + if content == None: contentreference.content_id = None else: