Add registering tests

This commit is contained in:
Skia
2015-11-19 11:23:08 +01:00
parent 898490324a
commit 5ee2baedba
4 changed files with 109 additions and 4 deletions

View File

@ -5,6 +5,14 @@
{% block content %}
<h1>{{ title }}</h1>
{% if user_registered %}
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">
{% csrf_token %}
{{ form }}