Please see this tutorial as it explained how to create a custom user model and uses django-rest-auth for the (login, logout, signup ...etc)
https://youtu.be/GdfLXHhNABE On Sat, 03 Apr 2021 at 00:50, Ryan Nowakowski <[email protected]> wrote: > I don't have a ton of experience with it but when a question includes the > term "create an API", the answer usually includes "just use Django Rest > Framework". > > On April 2, 2021 1:59:10 AM CDT, Saad Mrabet <[email protected]> > wrote: >> >> Hello every i m currently working on a project where had to overwrite >> the AbstractBaseUser and i did follow some tutorial : >> https://testdriven.io/blog/django-custom-user-model/ >> >> But now I need to make a good login API, so later I can log in with my >> React app, and i m kinda lost any recommendation about any tutorial ? >> >> -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/D3963616-DA14-4ED7-82D6-9CF7128F6660%40fattuba.com > <https://groups.google.com/d/msgid/django-users/D3963616-DA14-4ED7-82D6-9CF7128F6660%40fattuba.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE0AZGJW9dz1ywm-X7kQcabH07qo7TwKoneBwPH1gkoHxuzoXg%40mail.gmail.com.

