Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from django import forms
- class register(forms.Form):
- username = forms.CharField(label = 'username')
- email = forms.EmailField(label = 'Email id')
- password = forms.CharField(label = 'password', widget = forms.PasswordInput, help_text = 'Atleast 6 characters long')
- confirm_password = forms.CharField(label = 'confirm password', widget = forms.PasswordInput, help_text = 'Both the passwords should match')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement