Tivix / django-rest-auth

This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
www.tivix.com
MIT License
2.41k stars 660 forks source link

Login view not accessable with browseable API #311

Open lllama opened 7 years ago

lllama commented 7 years ago

(Sort of related to #35 but that's a couple of years old, hence a new issue).

The login view does not appear to be viewable in the browseable API. This seems to be because it does not define queryset or have a get_queryset() method. While these are not needed in use, I'm guessing the B-API is looking for them to generate its template.

Viatrak commented 7 years ago

The login view does appear on the DRF browsable API. Are your URL registrations set up properly?

EDIT Clarification. It does not appear at the root to browse to.. but you can go to the URL endpoint directly and browse the API.