title: Django Built-in Login System - accounts/profile/ not found
body: <p>I am using django built-in login system for my website. Whenever I create an account and try to login, it redirects to the page <code>http://127.0.0.1:8000/accounts/profile/</code> and gives error page not found.</p>
  
  <p>But when I manually remove the <code>accounts/profile/</code> part from url, it logins into the website. How can I make my django system to directly redirect to <code>http://127.0.0.1:8000</code> rather than the above mentioned URL.</p>
  
  <p>Here is my urls.py file code:</p>
  
  <pre><code>urlpatterns = [   
      path('',include('feedback.urls')),
      path('accounts/', include('django.contrib.auth.urls')),
      path('admin/', admin.site.urls),
      path('login/', auth_views.login, {'template_name': 'login.html'}, name='login'),
      path('logout/', auth_views.logout, {'next_page': 'login'}, name='logout'),
      path('signup/', core_views.signup, name='signup'),
  </code></pre>
  
  <p>]</p>
  
  <p>feedback/urls.py:</p>
  
  <pre><code>urlpatterns = [
      path('create_url/',views.create_url,name='create_url'),
      path('submit_affective/',views.submit_affective,name='submit_affective'),
      path('submit_cognitive/',views.submit_cognitive,name='submit_cognitive'),
      path('thanks/',views.thanks,name='thanks'),
      path('detail_affective/&lt;int:id&gt;',views.detail_affective,name='detail_affective'),
      path('detail_cognitive/&lt;int:id&gt;',views.detail_cognitive,name='detail_cognitive'),
      path('',views.index,name='index'),
  </code></pre>
  
  <p>]
  </p>