title: Page is not found
body: <p>I have the following urls:</p>
  <pre><code>urlspatterns=[  path('&lt;str:urlsername&gt;/', views.profile, name='profile'),
      path('login/', auth_views.LoginView.as_view(),name ='login'),
      path('logout/', auth_views.LogoutView.as_view()),
      path('password_change/', auth_views.PasswordChangeView.as_view(),name='password_change'),]
  </code></pre>
  <p>In views for the first url I have this:</p>
  <pre><code>def profile(request, username):
      user = get_object_or_404(User, username = username)
      posts = Post.objects.filter(author = user).order_by('-pub_date')
      return render(request,'profile.html', {'posts':posts,'user':user})
  </code></pre>
  <p>So when I go to the page login, logout or password_change I get the error &quot;Page is not found&quot;</p>
  <pre><code>Request Method: GET
  Request URL:    http://127.0.0.1:8000/password_change/
  Raised by:  posts.views.profile
  </code></pre>
  <p>But if I comment the profile view and its url everything works just fine. Why does the url 'logout' etc goes to profile view?</p>