Add create user from scratch

This commit is contained in:
Ludovic Stephan 2020-07-21 15:00:21 +02:00
parent ee1d158f2d
commit 26fa9dc898
2 changed files with 1 additions and 2 deletions

View file

@ -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}

View file

@ -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>