comparing two fields in djano

Posted by imran-glt on Stack Overflow See other posts from Stack Overflow or by imran-glt
Published on 2010-03-14T23:42:31Z Indexed on 2010/03/14 23:45 UTC
Read the original article Hit count: 285

Filed under:
|

Hi

can any body suggest me any idea about how can i compare two fields in django. as i have two password fields in my forms.py file. now i want to compare the two fields and if both are same then save the user in database else append an error message to reenter the values again.

thanks

© Stack Overflow or respective owner

Related posts about django

Related posts about fields