Hi everyone.
I want to build a system where user logged in using username & password.In 
that purpose i am used djangorestframework-jwt in token based 
authentication system.
djangorestframework-jwt provided this *urls    *url(r'^api/auth/token/', 
obtain_jwt_token)
if i go this url it shows username and password field in browserable api 
it's ok because it's builtin views.Before using djangorestframework-jwt i 
was create an accounts app where also user's login and registration method 
available based on django user model simple as username and password filed 
available.After register a user if i was open *api/auth/token* it's gives 
username & password filed if i was fullfill the requirement it's show me a 
token it's also *ok* but my own login view where i was used in that case i 
didn't understand.
And my angular 4 auth service which api end point used to login

-- 
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-framework+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to