I just wanted to know that I am using the predefined registration module and it I am not able to validate the registration form. my registration_form.html look like this
{% extends "registration_base.html" %} 2 {% block title %} Registration Form {% endblock %} 3 {% block external %} 4 5 .error{ 6 color: red; 7 font-size: 14px; 8 } 9 1 {% extends "registration_base.html" %} 2 {% block title %} Registration Form {% endblock %} 3 {% block external %} 4 5 .error{ 6 color: red; 7 font-size: 14px; 8 } 9 10 {% endblock %} 11 {% block heading1 %}
Sign up for an account
{% endblock %} 12 {% block content %} 13 Use the form below to register for your new account; all fields are required. 14 {% csrf_token %} 15 {% if form.non_field_errors %} 16{{ form.non_field_errors|join:"," }}
17 {% endif%} 18{% if form.username.errors %} 19 {{ form.username.errors|join:"," }} 20 {% endif %} 21
22Username: {{ form.username }} 23
24{% if form.email.errors %} 25 {{ form.emails.errors|join:"," }} 26 {% endif %} 27
28Your e-mail address: 29 {{ form.email }} 30
31{% if form.password1.errors %} 32 {{ form.password1.errors|join:"," }} 33 {% endif %} 34
35Password: 36 {{ form.password1 }} 37
38{% if form.password2.errors %} 39 {{ form.password2.errors|join:"," }} 40 {% endif %} 41
42ReType Password: 43 {{ form.password2 }} 44
4546
47 {% endblock %}Plese help me to figure out the problem. Thanks in advance.............