Commits

Oben Sonne committed 8be6808

Fix filter usage and use url-filter for URLs

Comments (0)

Files changed (1)

diggie/templates/delete.html

 {% extends "base.html" %}
 
+{% load diffies %}
+
 {% block title %}
 <span class="sys">Deleting page</span> {{ page.tip.name|titled }}
 {% endblock %}
 <p>
 The safe way is to set the page deprecated.
 Deprecated pages are exlcuded from regular page listings. They only appear in
-the list of <a href="/label/Deprecated">pages labeled deprecated</a>.
+the list of <a href="{% url diggie.views.pages label="Deprecated" %}">pages labeled deprecated</a>.
 </p>
 {% endif %}
-<form action="/delete/{{ page.tip.name }}" method="POST">
+<form action="{% url diggie.views.delete name=page.tip.name %}" method="POST">
 <p>
   <input type="submit" name="delete" value="Delete">
 {% if not page.isdeprecated %}