#48 Changes autocomplete
* changes the autocomplete route for user retrieving from _istartswith to full qualified check * extends the help text for form to inform about full qualified username needed * updates translation
This commit is contained in:
@@ -79,7 +79,7 @@ class ShareUserAutocomplete(Select2QuerySetView):
|
||||
)
|
||||
if self.q:
|
||||
qs = qs.filter(
|
||||
username__istartswith=self.q
|
||||
username=self.q
|
||||
)
|
||||
return qs
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@ PAGE_DEFAULT = 1
|
||||
# SSO settings
|
||||
SSO_SERVER_BASE = "http://127.0.0.1:8000/"
|
||||
SSO_SERVER = f"{SSO_SERVER_BASE}sso/"
|
||||
SSO_PRIVATE_KEY = "CHANGE_ME"
|
||||
SSO_PUBLIC_KEY = "CHANGE_ME"
|
||||
SSO_PRIVATE_KEY = "U7OjCbElNDchUvh9WVzfOfC4juJQC9HGZI9tSdjmeFe0MDTw7BCNBv4MigJ79dlJ"
|
||||
SSO_PUBLIC_KEY = "PnxIZFewXVoL0FG2wMr3DCGgLCHOwR6JE9GYJCZHazVjlDgOZFl3qiB4dWsAZRF5"
|
||||
|
||||
# MAPS
|
||||
DEFAULT_LAT = 50.00
|
||||
|
||||
Reference in New Issue
Block a user