You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the phonenumber filed here according to the to_python logic here should raise a type error in case it is unable to parse and give back results. It checks for the phone number of type str and phonenumber type instance for now. I can take a look at this further and f course I might be missing valuable context in my insight.
I have a serializer:
and in my view:
This doesn't work if I pass
phone=15417543010
(int number). In that case, it passes validation, butserializer.validated_data['phone']
will beNone
.The text was updated successfully, but these errors were encountered: