Oben Sonne  committed 8be6808

Fix filter usage and use url-filter for URLs

  • Participants
  • Parent commits 19fcc2f

Comments (0)

Files changed (1)

File diggie/templates/delete.html

 {% extends "base.html" %}
+{% load diffies %}
 {% block title %}
 <span class="sys">Deleting page</span> {{|titled }}
 {% endblock %}
 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>.
 {% endif %}
-<form action="/delete/{{ }}" method="POST">
+<form action="{% url diggie.views.delete %}" method="POST">
   <input type="submit" name="delete" value="Delete">
 {% if not page.isdeprecated %}