Separate the autocompletion logic form the views

This commit is contained in:
Martin Pépin 2020-07-04 13:50:19 +02:00
parent fbbc9937f6
commit 9a90f19502
No known key found for this signature in database
GPG key ID: E7520278B1774448
12 changed files with 78 additions and 82 deletions

View file

@ -1,7 +1,7 @@
from django.contrib.auth import get_user_model
from django.db.models import Q
from shared.views import autocomplete
from shared import autocomplete
User = get_user_model()