if request.method == \'POST\':
userf = UsersModelForm(request.POST)
username = userf.data[\'username\']
password = userf.data[\'password\']
passwordrepea
See the documentation for the save() method
if request.method == 'POST':
userf = UsersModelForm(request.POST)
new_user = userf.save(commit=False)
username = userf.cleaned_data['username']
password = userf.cleaned_data['password']
passwordrepeat = userf.cleaned_data['passwordrepeat']
email = userf.cleaned_data['email']
new_user.password = new1
new_user.passwordrepeat = new2
new_user.save()