Compare commits

...

1 commit

Author SHA1 Message Date
Martin Pépin
9473b354a6
Make K-Fêt search results clickable 2021-05-04 17:10:39 +02:00

View file

@ -29,6 +29,9 @@ class KfetAccountSearch(autocomplete.ModelSearch):
def result_uuid(self, user):
return user.username
def result_link(self, user):
return reverse("kfet.account.create.fromuser", args=(user.username,))
class COFMemberSearch(autocomplete.ModelSearch):
model = User