Simplify clearing the template cache

This is more consistent and more visible than a direct call to a
function. It makes use of the new decorator added in response to [^1].

[^1]: https://github.com/alphagov/notifications-admin/pull/4162#pullrequestreview-896208092
This commit is contained in:
Ben Thorner
2022-02-22 12:28:23 +00:00
parent 8aabaf1f49
commit a5d18cf1a0
3 changed files with 32 additions and 51 deletions

View File

@@ -30,7 +30,7 @@ pyproj==3.2.1
# PaaS
awscli-cwlogs>=1.4,<1.5
itsdangerous==1.1.0 # pyup: <2
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@55.0.0
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@55.1.0
govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@v0.5.8-alpha
# gds-metrics requires prometheseus 0.2.0, override that requirement as later versions bring significant performance gains