{% extends 'base.html' %} {% block content %}
{% csrf_token %}
Username

{{ form.username }}
Password

{% if error1 %}

Please enter password of atleast 8 characters or more.

{% endif %}
{{ form.password1 }}
Repeat Password

{% if error2 %}

Please enter confirm password (same as password)

{% endif %}
{{ form.password2 }}
{% endblock content %}