I have install a fresh wagtail when I try to create a page I'm getting error :
'NoneType' object has no attribute 'model'
My class is :
class CategoryPage(Page):
description_meta = models.CharField(max_length=500, null=True, blank=True)
template = models.CharField(max_length=500, null=True, blank=True, default='_nixaTemplate/category/default.html')
image = models.ImageField(_("Image"), upload_to="img/category/", blank=True, null=True)
display = models.BooleanField(_("Display Post"), default=False )
content_panels = Page.content_panels + [
FieldRowPanel([
FieldPanel("description_meta", classname="col-12 col12"),
FieldPanel("template", classname="col-12 col12"),
ImageChooserPanel("image", classname="full"),
]),
]