From 193380f53799e2fa5f15817caec47ccf914359e6 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 31 Jan 2018 12:11:07 -0600 Subject: fixed some admin bugs on live server --- app/utils/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/utils') diff --git a/app/utils/views.py b/app/utils/views.py index 108293e..0b96111 100644 --- a/app/utils/views.py +++ b/app/utils/views.py @@ -44,7 +44,7 @@ from dal import autocomplete class TagAutocomplete(autocomplete.Select2QuerySetView): def get_queryset(self): # Don't forget to filter out results depending on the visitor ! - if not self.request.user.is_authenticated(): + if not self.request.user.is_authenticated: return Tag.objects.none() qs = Tag.objects.all() -- cgit v1.2.3-70-g09d2