How to include custom functions in django serializers?

Published: 9/10/2019
How to include custom functions in django serializers?
Source: STACKOVERFLOW.COM

I've been trying all sorts of method but still cant seem to get this task done even through asking here with my previous questions. The problem is, I am trying to convert my data that is entered by the user on django's admin page to json data using rest. But before converting the data to json, I have 2 custom functions that validates the email and phone number fields entered by the user that use

Read more
Related news
Comment
FACEBOOK