title: Django Link to class based views url
body: <p>I created with django a page where I can delete my blog articles using the <a href="https://docs.djangoproject.com/en/1.8/topics/class-based-views/" rel="nofollow">class based views</a>, I want to add link to each article but I'm struggling to do it.</p>
  
  <p><strong>here is the code to link to the class based view</strong> </p>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>user_delete_article = Article.objects.filter(user=request.user)
  </code></pre>
  
  <p><strong>template.html</strong></p>
  
  <pre><code>{% for article in user_delete_article %}
  &lt;p&gt;&lt;a class="readmore" href="{% url "article.views.DeleteView" article.id %}"&gt;{{ article.titre }}&lt;/a&gt;&lt;/p&gt;
  {% endfor %}
  </code></pre>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code>url(r'^delete/(?P&lt;id&gt;\d+)/$', DeleteView.as_view(), name="DeleteView"),
  </code></pre>
  
  <p>How can I make this work?</p>