Add create user from scratch
This commit is contained in:
parent
ee1d158f2d
commit
26fa9dc898
2 changed files with 1 additions and 2 deletions
|
@ -46,7 +46,6 @@ class BDSOthersSearch(autocomplete.ModelSearch):
|
||||||
|
|
||||||
class BDSLDAPSearch(autocomplete.LDAPSearch):
|
class BDSLDAPSearch(autocomplete.LDAPSearch):
|
||||||
def result_link(self, clipper):
|
def result_link(self, clipper):
|
||||||
print(clipper.fullname)
|
|
||||||
url = reverse("bds:user.create.fromclipper", args=(clipper.clipper,))
|
url = reverse("bds:user.create.fromclipper", args=(clipper.clipper,))
|
||||||
get = {"fullname": clipper.fullname}
|
get = {"fullname": clipper.fullname}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
<li class="autocomplete-new">
|
<li class="autocomplete-new">
|
||||||
<a class="autocomplete-item" href="#TODO">
|
<a class="autocomplete-item" href="{% url "bds:user.create" %}">
|
||||||
{% trans "Créer un compte" %}
|
{% trans "Créer un compte" %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue