How do I create a API using Django Rest Framework?

56 views
Skip to first unread message

sakkhar saha

unread,
Nov 2, 2017, 7:28:43 PM11/2/17
to Django REST framework
I want to create a login api (or use an existing one if it is already pre-bundled) using django rest framework. However, I'm completely at a loss. Whenever I send a post request to the django rest framework "login" url, it just sends back the browsable api template page.

Дмитрий Ваганов

unread,
Nov 3, 2017, 6:19:36 PM11/3/17
to Django REST framework
Can you list some code? What your returning in your method?

пятница, 3 ноября 2017 г., 2:28:43 UTC+3 пользователь sakkhar saha написал:

Davide Muraro

unread,
Nov 4, 2017, 7:49:01 AM11/4/17
to django-res...@googlegroups.com
Have a look at django-rest-auth.
--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages