From a7fa332ab3a3b458bd55a9e83fc696791cc46b8d Mon Sep 17 00:00:00 2001 From: phillybroadbent Date: Tue, 28 Feb 2023 14:48:48 +0000 Subject: [PATCH] Fixed formatting of event_report view --- .gitignore | 1 + lowfat/views/claimant.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index ee42cbf6..a54a99c0 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ __pycache__ .venv/ env/ venv/ +.env # IDEs .idea/ diff --git a/lowfat/views/claimant.py b/lowfat/views/claimant.py index 9ec68156..8aacd7a3 100644 --- a/lowfat/views/claimant.py +++ b/lowfat/views/claimant.py @@ -74,6 +74,7 @@ def get_terms_and_conditions_url(request): return url + @staff_member_required def event_report(request): """ @@ -163,6 +164,7 @@ def event_report(request): return render(request, 'lowfat/event_report.html', context) + def index(request): context = { 'claimants': Claimant.objects.filter(