diff options
Diffstat (limited to 'app/utils/views.py')
-rw-r--r-- | app/utils/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |