Hi, Indeed, nice catch. This was fixed in https://github.com/encode/django-rest-framework/pull/5713 but hasn’t been deployed yet (will be for the next release).
Regards, Xavier. > Le 1 janv. 2018 à 22:36, Victor M. Mendiola Lau <[email protected]> a écrit : > > Hello everybody. > > I'm new to the Django and Django Rest Framework Ecosystem. I was reading the > docs and I think I found an error. > > Under the section 'Adding login to the Browsable API' of > http://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/, > there seems to be an error in the documentation. The line for including > login/logout views for the Browsable API is missing a ')' > > The documentation reads > . url(r'^api-auth/', include('rest_framework.urls'), > > I think it should be > . url(r'^api-auth/', include('rest_framework.urls')), > > Best Regards. > > -- > 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 [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP
