From c409977caa45a4d758194e14424aad556e1c28a3 Mon Sep 17 00:00:00 2001 From: hexwhiz Date: Sat, 26 Oct 2024 00:36:14 +0530 Subject: [PATCH] flake test update --- home/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/views.py b/home/views.py index 48a037f..5c3807d 100644 --- a/home/views.py +++ b/home/views.py @@ -127,12 +127,13 @@ def filter_by_difficulty(request, difficulty_level=None): return render(request, 'dashboard/index.html', context=context) + @complete_profile_required def filter_by_status(request, status=None): """ Filter the issues on basis of their open or close status. params: selected filter option - return: + return: """ issues_qs = Issue.objects.all() project_qs = Project.objects.all() @@ -169,6 +170,7 @@ def filter_by_status(request, status=None): return render(request, 'dashboard/index.html', context=context) + def authorize(request): """ Used for rendering authorize.html which is responsible for both LogIn and SignUp