Compare commits
No commits in common. "80bdb361be4271bda4b35382e805eeb8f48a7e27" and "95885123a96cfe5ce3feae3df3895de95c2828d0" have entirely different histories.
80bdb361be
...
95885123a9
@ -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)
|
||||
|
@ -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/"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user