Python Django Authentication Authentication Requiring Logins

barrett Stunt
barrett Stunt
3,152 Points

Do these methods work on django restframework

I just finished the course on Django Rest Framework and i'm confused with how these default methods of django authentication relate and work with django rest framework's authentication system. I'm primarily interested in what route you would take if building out a mobile app. Thanks!

1 Answer

Avraham Shukron
Avraham Shukron
19,608 Points

DjangoREST Framework uses very similar mechanisms for Authentication and Authorization to that of Django Views.

You can read about that in more details at the official documentation at http://www.django-rest-framework.org/api-guide/authentication/