Fields : email, password, password repeat
(username field is removed)
Username will still be available in the model (do not remove this). Set the name field in the email to the model's username. For e.g. if rmail is vinod@email.com, set username as 'vinod'. This will become the user's default user-name. The user will be able to edit the user name from a profile page. Username is not a unique id any more - only the email is unique.
Validate all fields:
Check whether valid email format
Password should be minimum 6 characters
Password field should match with confirm Password field.
Fields : email, password, password repeat (username field is removed)
Username will still be available in the model (do not remove this). Set the name field in the email to the model's username. For e.g. if rmail is vinod@email.com, set username as 'vinod'. This will become the user's default user-name. The user will be able to edit the user name from a profile page. Username is not a unique id any more - only the email is unique.
Validate all fields: