Wednesday, March 6, 2013

error- IntegrityError at /register/

{%extends "homepage/index.html"%} {%block title%} Login {%endblock%} {%block content%}
{% if not success %}
Registration
{% if name_error == "" %}

Name will contain first name and last name character.

{% else %}

{{ name_error }}

{% endif %}
{% if emailid_error == "" %}

Example : User@mail.com

{% else %}

{{ emailid_error }}

{% endif %}
{% if username_error == "" %}

User name contain 6-8 letter combination of alphabet and digit no special character.

{% else %}

{{ username_error }}

{% endif %}
{% if password_error == "" %}

Password Must contain 8-15 Character.

{% else %}

{{ password_error }}

{% endif %}
{% if rpassword_error == "" %}

password is not matching

{% else %}

{{ rpassword_error }}

{% endif %}
Male Female
{% if address_error == "" %}

need correct address

{% else %}

{{ address_error }}

{% endif %}
{% if contact_error == "" %}

take only 11 digit

{% else %}

{{ contact_error }}

{% endif %}
{% else %}

Hi Thank you for your Registraton.

{% endif %}
{%endblock%}hi i have got error- IntegrityError at /register/     
  lrntkr_student.contact_no may not be NULL
,when i was trying to input data through html page(register.html), but data is not updating in database and generating that error. please help me i m unable to find this error.

thanks


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment