The Django-registration is a powerful plugin but you need to be careful as to how you handle it.
If you add custom fields to it make sure you do it the right way.
Sometimes the registration can fail silently when the validation of its fields fail and you will not be explicitly notified about it.
So whenever you see POST on registration yielding 200OK and simply returning the form again
you can check the below
If you add custom fields to it make sure you do it the right way.
Sometimes the registration can fail silently when the validation of its fields fail and you will not be explicitly notified about it.
So whenever you see POST on registration yielding 200OK and simply returning the form again
you can check the below
- that all user specific fields are being sent (username, email, pwd1, pwd2)
- that none of the custom fields validation is failing (i tested it by extending ChoiceField with a NoValidationChoiceField and my registration seems to be passing)
No comments:
Post a Comment