mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-31 09:43:54 +02:00
Justify Django Templates in ADR
This commit is contained in:
parent
b25c8f435d
commit
a42e77e639
1 changed files with 19 additions and 0 deletions
19
docs/architecture/decisions/0010-django-templates.md
Normal file
19
docs/architecture/decisions/0010-django-templates.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# n. Django Templates
|
||||||
|
|
||||||
|
Date: 2022-09-26
|
||||||
|
|
||||||
|
## Status
|
||||||
|
|
||||||
|
Approved
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
In the context of doing server-side rendering ([ADR](./0008-server-side-rendering.md)), we need some templating engine on the backend which will take variables and insert them into HTML pages to be served to the end user.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
To use Django’s built-in templating engine.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
While it admittedly has fewer capabilities compared to Jinja2, it has the advantage of being already available with no further configuration or dependencies.
|
Loading…
Add table
Add a link
Reference in a new issue