I've created a doctrina app, I've been explicit to tell the model where to look for the template:
template = 'doctrina/doctrina_index_page.html'
Why is it saying it can't find it?
doctrina/models.py:
from django.db import models
from wagtail.core.models import Page
from wagtail.core.fields import RichTextField
from wagtail.admin.edit_handlers import FieldPanel
class DoctrinaIndexPage(Page):
template = 'doctrina/doctrina_index_page.html'
nivel = models.CharField(max_length=255, default='Básico')
subtitle = models.CharField(max_length=255, default='Publicación reciente')
body = RichTextField(blank=True)
content_panels = Page.content_panels + [
FieldPanel('subtitle', classname="full"),
FieldPanel('body', classname="full")
]
this is the main app, where setting are, I've added explicitly the doctrina/templates in the DIRS:
Wagtail Admin:
UPDATE 1:
Sites:




