Hello, everybody. I am not sure if I should post this here, but I am having problems with the Browsable API.
I am following the tutorial from the website and trying to implement the login in the Browsable API <https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/#adding-login-to-the-browsable-api>, but after the login and being redirect to /accounts/profile I get an 404 error. The /api-auth also gives me an 404 error. And /api-auth/logout, neverthless trowns "NoReverseMatch at /api-auth/logout/ " and " 'admin' is not a registered namespace" I am using version 2.1 of Django in windows 10, inside an virtualenv environment. My url files are configured as the follow: *tutorial/url.py* from django.urls import path, include from django.conf.urls import url urlpatterns = [ path('', include('snippets.urls')), path('api-auth/', include('rest_framework.urls', namespace= 'rest_framework')), ] (I also tryied without the namespace). *snippets/url.py* from django.urls import path from rest_framework.urlpatterns import format_suffix_patterns from snippets import views urlpatterns = [ path('snippets/', views.SnippetList.as_view()), path('snippets/<int:pk>/', views.SnippetDetail.as_view()), path('users/', views.UserList.as_view()), path('users/<int:pk>/', views.UserDetail.as_view()), ] urlpatterns = format_suffix_patterns(urlpatterns) I wonder if this part of the tutorial is really adapted to Django 2.0, because the instructions talk about import ing from django.conf.urls. I am posting a screenshoot of this tutorial section below: [image: browsable.png] Thank you for the help! -- 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.