[Fixed]-Template for custom type in mezzanine


Your model looks fine
admin.py should be similar to:

from .models import AboutUs,
from mezzanine.pages.admin import PageAdmin
admin.site.register(AboutUs, PageAdmin) 

Create a page instance in the admin UI.
Usually a space in the title becomes – eg ‘About Us’ becomes ‘about-us.html.
And it needs to be within the pages directory.

Leave a comment