title: Django rest framework browsable api root url
body: <p>I love DRF but I still find its documentation really frustrating, for real, a lot of advanced tips and examples are there but I still always dive into toughness and frustration when I'm looking for the most basic stuff of any topic of the amazing framework.</p>
  <p>In this case, <a href="https://www.django-rest-framework.org/topics/browsable-api/" rel="nofollow noreferrer">this resource</a>
  looks really cool! But they don't even start by how to make it work (or what could not be properly configured if it isn't working as in my case). Could someone tell me what's the holy api root URL or how to include/configure it? Because I don't see it in my URLs and so far I didn't find anything in the official docs.</p>
  <p><em><strong>I also followed the quickstart tutorial.</strong></em></p>
  <p>This is what I have:</p>
  <p><a href="https://i.stack.imgur.com/Db2Cr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Db2Cr.png" alt="enter image description here" /></a></p>
  <p>My main urls.py:</p>
  <pre><code>api_urls = [
      path('rest_framework/', include('rest_framework.urls', namespace='rest_framework')),
      path('', include('project.posts.urls')),
      path('', include('project.users.urls')),
  ]
  
  urlpatterns = [
      path('admin/', admin.site.urls),
      path('api/', include(api_urls)),
  ]
  </code></pre>
  <p>users.urls:</p>
  <pre><code>router = SimpleRouter()
  router.register(r'users', UserViewSet, basename='users')
  
  urlpatterns = [
      path('', include(router.urls)),
  ]
  </code></pre>
  <p>posts.urls:</p>
  <pre><code>router = SimpleRouter()
  router.register(r'posts', PostViewSet, basename='posts')
  
  urlpatterns = [
      path('', include(router.urls)),
  ]
  </code></pre>
  <p>I can log in into the DRF panel but then I get a redirection error.</p>
  <p><a href="https://i.stack.imgur.com/LBVOF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LBVOF.png" alt="enter image description here" /></a></p>
  <p>Also I can see the pages if I manually go to a valid endpoint URL, but it's not an actual navigation from the root point of the API.</p>