I am trying to include a page editable through the mezzanine admin in all the pages on my site. I read through the Mezzanine doc and the source and cannot figure out how to do this.
From the docs, I thought I could pass my page as an extra context, something like:
mezzanine.pages.views.page(request, slug, template=u'pages/page.html', extra_context={'mypage':<get_page_by_its_slug>})
But the doc says that the extra context is a mezzanine.pages.middleware.PageMiddleware object, which sets the slug from the request.
Do I need to write a context processor to do this? How do a load a specific page by its slug?