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(