Tuesday, July 2, 2019

signup in Django rest API framework With MIXIN

Hi,

I need a help in signing up  Custom Model User with MAXIN and be able to edit and delete and see the saved user info . At first , I defined a sterilizer class to get the fields I want to have from user then I defined a class view which the parameter are mixins.ListModelMixin,mixins.CreateModelMixin,generics.GenericAPIView, 
 

I de fined two methods as def post and get in class view but I don't know anymore how set password in the post def

 

Sent from Mail for Windows 10

 

No comments:

Post a Comment