title: URL routing in Django
body: <p>I am prrety new in URLs and Django and got some questions.</p>
  
  <p>For now I have 2 HTML templates which are routing correctly: home.html and ladder.html .</p>
  
  <p>What do I have to do to go from my ladder.html(ladder/) back to my home.html("") if I click to home again nothing is happening.
  And as second when I am on ladder and click ladder again it adds another ladder/ to the URL and Im getting a router error , how can I resolve this ?</p>
  
  <p>Thanks for the help.</p>
  
  <p>I will show the code of my navbar wher my href attributes are so u can understand what I mean and my urls.py</p>
  
  <p>My hrefs:</p>
  
  <pre><code>&lt;div class="collapse navbar-collapse" id="navbarSupportedContent"&gt;
      &lt;ul class="navbar-nav mr-auto"&gt;
        &lt;li class="nav-item active"&gt;
          &lt;a class="nav-link" href=""&gt;Home&lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;
        &lt;/li&gt;
        &lt;li class="nav-item"&gt;
          &lt;a class="nav-link" href="ladder/"&gt;Ladders&lt;/a&gt;
  </code></pre>
  
  <p>My urls.py:</p>
  
  <pre><code>from django.contrib import admin
  from django.urls import path
  from pages.views import home_view,ladder_view
  from django.contrib.staticfiles.urls import static
  from django.contrib.staticfiles.urls import staticfiles_urlpatterns
  
  urlpatterns = [
      path('', home_view),
      path('admin/', admin.site.urls),
      path('ladder/',ladder_view),
  
  ]
  </code></pre>