forked from DGNum/gestioCOF
Compare commits
1 commit
master
...
kerl/click
Author | SHA1 | Date | |
---|---|---|---|
|
9473b354a6 |
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ class KfetAccountSearch(autocomplete.ModelSearch):
|
||||||
def result_uuid(self, user):
|
def result_uuid(self, user):
|
||||||
return user.username
|
return user.username
|
||||||
|
|
||||||
|
def result_link(self, user):
|
||||||
|
return reverse("kfet.account.create.fromuser", args=(user.username,))
|
||||||
|
|
||||||
|
|
||||||
class COFMemberSearch(autocomplete.ModelSearch):
|
class COFMemberSearch(autocomplete.ModelSearch):
|
||||||
model = User
|
model = User
|
||||||
|
|
Loading…
Reference in a new issue