when calling the command with the --delete_all parameter, the parent object is None at level 0 I think, or am i doing something wrong?
File "feincmsext/util/structure.py", line 22, in import_structure
p = Page(active=True, title=title, slug=slugify(title), in_navigation=True, parent=Page.objects.get(pk=parent.pk))
AttributeError: 'NoneType' object has no attribute 'pk'
when calling the command with the --delete_all parameter, the parent object is None at level 0 I think, or am i doing something wrong?
File "feincmsext/util/structure.py", line 22, in import_structure p = Page(active=True, title=title, slug=slugify(title), in_navigation=True, parent=Page.objects.get(pk=parent.pk)) AttributeError: 'NoneType' object has no attribute 'pk'