title: Django - The page don't load after click
body: <p>i'm new in Django developing.
  I'm following the tutorial about Library on MDN (<a href="https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django</a>)
  Until i follow the code all work but i'm trying implement author page by myself. Probably is very stupid issue but is one day that i'm turning around like a dog with its tail.
  There is 2 page: author_list and author detail. 
  I set <code>urls.py</code> (in my project) i set <code>view.py</code> and crate my template. 
  I follow the same step of tutorial for realize book_list and book_detail but when i click on my author the page don't go to the detail of that author and stay in <code>author_list.html</code>.</p>
  
  <p>Here the code urls.py :</p>
  
  <pre><code>path('authors/', views.AuthorListView.as_view(), name='authors'),
  path('author/&lt;int:pk&gt;', views.AuthorDetailView.as_view(), name='author-detail'),
  </code></pre>
  
  <p>Here views.py:</p>
  
  <pre><code>class AuthorListView(generic.ListView):
      model = Author
  
  class AuthorDetailView(generic.ListView):
      model = Author
  </code></pre>
  
  <p>Here <code>author_list.html</code> with link <code>get_absolute_url</code>:</p>
  
  <pre><code>{% extends "base_generic.html"%}
  
  {% block content %}
  
   &lt;h1&gt;Author list&lt;/h1&gt;
  {% if author_list %}
  &lt;ul&gt;
      {% for aut in author_list %}
      &lt;li&gt;&lt;a href="{{ aut.get_absolute_url }}"&gt;{{ aut.first_name }} - {{ aut.last_name }}&lt;/a&gt;&lt;/li&gt;
  {% endfor %}
  &lt;/ul&gt;
  {% else %}
  &lt;p&gt;There are no author.&lt;/p&gt;
  {% endif %}
  {% endblock %}
  </code></pre>
  
  <p>Here author_detail.html:</p>
  
  <pre><code>{% extends "base_generic.html" %}
  {% block content %}
    &lt;h1&gt;Author&lt;/h1&gt;
  {% if author %}
  &lt;p&gt;&lt;strong&gt;Nome: &lt;/strong&gt; {{ author }}&lt;/p&gt;
  &lt;p&gt;&lt;strong&gt;Nato il : &lt;/strong&gt; {{ author.date_of_birth }}&lt;/p&gt;
  &lt;p&gt;&lt;strong&gt;Morto il : &lt;/strong&gt; {{ author.date_of_death }}&lt;/p&gt;
  {% endif %}
  {% endblock %}
  </code></pre>
  
  <p>Here the screenshot</p>
  
  <p><a href="https://i.stack.imgur.com/bZy87.png" rel="nofollow noreferrer">Author_list.html before click url=catalog/authors/</a></p>
  
  <p><a href="https://i.stack.imgur.com/WSvDY.png" rel="nofollow noreferrer">After click url change but page not </a></p>
  
  <p>Thank to all for help</p>