diff options
author | luxagraf <sng@luxagraf.net> | 2018-01-31 12:11:07 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-01-31 12:11:07 -0600 |
commit | 193380f53799e2fa5f15817caec47ccf914359e6 (patch) | |
tree | 607e8792b9819e3281ef7dcc8a3f3c32c1c34172 /app/utils | |
parent | 18668343120be2ccf80a3b05920cce7881501dfa (diff) |
fixed some admin bugs on live server
Diffstat (limited to 'app/utils')
-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() |