title: Django, lose the variables of a template when I call the extended template
body: <p>I have a django project and an random app, a <code>homepage.html</code> in <code>localhost:8000/</code>, a <code>base.html</code> with a path url: <code>/base/some_id</code>, an extended <code>template1.html</code> with url: <code>/base/some_id/template1</code>.</p>
  <pre class="lang-html prettyprint-override"><code>&lt;!-- base.html --&gt;
  
  &lt;body&gt;
      &lt;h2&gt;{{message}}&lt;/h2&gt;
      &lt;a href=&quot;{% url 'template1' some_id %}&quot;&gt;BUTTON&lt;/a&gt;
      {% block content%} {% endblock %}
  &lt;/body&gt;
  </code></pre>
  <pre class="lang-html prettyprint-override"><code>&lt;!-- template1.html --&gt;
  
  {% extends 'base.html' %}
  
  {% block content %}
      &lt;p&gt;some text here&lt;/p&gt;
  {% endblock %}
  </code></pre>
  <pre class="lang-py prettyprint-override"><code># urls.py
  
  urlpatterns = [
      path('', views.home, name = 'homepage'),
      path('base/&lt;int:some_id&gt;/',views.base, name = 'base'),
      path('base/&lt;some_id&gt;/template1/', views.template1, name = 'template1'),
  ]
  </code></pre>
  <pre class="lang-py prettyprint-override"><code># views.py
  
  def base(request,some_id):
    context = {
      &quot;message&quot;: &quot;Hello&quot;,
      &quot;some_id&quot;: some_id,
    }
    return render(request, &quot;base.html&quot;, context)
  
  def template1(request,some_id):
    return render(request, &quot;base.html&quot;, { &quot;newmessage&quot;: &quot;some text&quot; } )
  </code></pre>
  <p>My page base.html is correctly displayed, but when I click to the  tag to go to template1, I get a message:
  <code>Reverse for 'template1' with arguments '('',)' not found....</code></p>
  <p>I've tried many things but nothing worked. I think my issue is that the variable <code>some_id</code> doesn't have any value in template anymore.</p>
  <p>Any help would be appreciated!
  Thank you in advance guys!</p>