Update login system and add tests

This commit is contained in:
Skia
2015-11-19 14:44:48 +01:00
parent 5ee2baedba
commit d3896ad676
5 changed files with 65 additions and 12 deletions

View File

@ -18,6 +18,9 @@
</header>
<div id="content">
{% if error %}
{{ error }}
{% endif %}
{% block content %}{% endblock %}
</div>
@ -26,5 +29,10 @@
Site réalisé par des gens biens
{% endblock %}
</footer>
<!--
{% block tests %}
{{ tests }}
{% endblock %}
-->
</body>
</html>

View File

@ -10,7 +10,6 @@ Welcome {{ user_registered.get_display_name }}!
You successfully registred and you will soon receive a confirmation mail.
Your username is {{ user_registered.username }}.
<!-- TEST_REGISTER_USER_FORM_OK -->
{% endif %}
<form action="{% url 'core:register' %}" method="post">