Skip to content

Django and Wagtail Frontend

nmorduch edited this page Mar 17, 2022 · 3 revisions

What's rendered with Django.

For the most part, this uses standard Django templating conventions with wagtail, django, and a few custom templatetags.

Base templates

There are handful of base templates that all pages inherit from:

Report and Program page exceptions

Reports and Program pages use React Router, they all need to serve the same template with the same data, so they fall outside of Django conventions. url routes are defined to serve the correct template.