Compare commits

..

No commits in common. "80bdb361be4271bda4b35382e805eeb8f48a7e27" and "95885123a96cfe5ce3feae3df3895de95c2828d0" have entirely different histories.

2 changed files with 0 additions and 10 deletions

View File

@ -32,9 +32,3 @@ class EcoAccountAutocomplete(Select2QuerySetView):
Q(title__icontains=self.q)
).distinct()
return qs
def get_result_label(self, result):
return str(result)
def get_selected_result_label(self, result):
return str(result)

View File

@ -42,10 +42,6 @@ ALLOWED_HOSTS = [
"localhost",
]
CSRF_TRUSTED_ORIGINS = [
"http://localhost", # not only host but schema (http/s) as well!
]
# Authentication settings
LOGIN_URL = "/login/"