django rest framework display authtoken model in API view

9 views
Skip to first unread message

chern...@gmail.com

unread,
Jan 14, 2018, 10:02:41 PM1/14/18
to Django users
Is it possible to display the authtoken model in api json view with all its function ?

As i am using django rest framework token authentication by djoser, there is a authtoken model created to store the token. Is it possible to view it in the api view ?
Since right now i can only see it in django admin website for the authtoken model.
Reply all
Reply to author
Forward
0 new messages