old_contents: from django.conf.urls import include, url
  from django.contrib import admin
  
  urlpatterns = [
      # Examples:
      # url(r'^$', 'notenote.views.home', name='home'),
      # url(r'^blog/', include('blog.urls')),
  
      url(r'^admin/', include(admin.site.urls)),
  ]
  
new_contents: from django.conf.urls import include, url
  from django.contrib import admin
  
  
  urlpatterns = [
  
      # Login & Logout API by Django Rest Framework
      url(r'^api-auth/',
          include('rest_framework.urls', namespace='rest_framework')),
  
      # Django Admin Panel urls
      url(r'^admin/',
          include(admin.site.urls)),
  
      # Rest of urls for Notenote
      url(r'^', include('poster.urls')),
  
  ]
  
subject: Add Login and Logout API by Django Rest Framework to urls. And delegate the rest to poster.urls for now.