title: Django refresh page
body: <p>I can not figure out how to change the page without rebooting with Ajax.</p>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code>urlpatterns = [
      path('name/', views.name, name='name'),
      path('', views.index, name='index'),
    ]
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>def name(request):
      return render(request, 'site/name.html')
  </code></pre>
  
  <p><strong>index.html</strong></p>
  
  <pre><code>&lt;a href="/name" id="aj"&gt;page name&lt;/a&gt;
  
  &lt;div id="content"&gt;
     {% block content %}
     {% endblock %}
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>I will be very grateful if you will give me a simple code.</strong></p>