<!-- vi: tw=119
-->

# The `templates` directory

This directory contains all of our [Django templates](https://docs.djangoproject.com/en/dev/topics/templates/).

The individual templates are split into subdirectories for each individual application that uses these templates.

There are some special templates that are utilized automatically by Django contrib apps, or otherwise used elsewhere
and categorized differently. These special cases are listed below:

- [`base`](./base): This directory contains base templates which are shared across all apps, usually only referenced
  by other templates with `extends`.

- [`registration`](./registration): This directory contains templates for the `django.contrib.auth` application,
  which manages user authentication.

- [`404.html`](./404.html) & [`500.html`](./500.html): Error pages rendered when an error with the respective code is
  encountered. These errors are technically managed in the `general` app, however they don't really fall under
  `general/` app, so instead they are placed in the root of this directory.
