Wednesday, January 8, 2020

Dajgo Validation error

Hi Folk,

What is the process to validate fields in django rest framework?
like email and phone number should be unique and password should be alphanumeric character only.

Where i need to write the logic inside serializers or views part and how i can do that?

Thank you in advance

Regards,
Soumen


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPUw6Wb7_45-r165wg10M-w%2B6V6zOheCnEC3_chbJ-GEHRGQLA%40mail.gmail.com.

No comments:

Post a Comment