Add ability to have named urls.

This commit is contained in:
Chris Jones
2012-01-16 16:49:56 -08:00
parent 53046715d9
commit 799f9ba7fd
4 changed files with 46 additions and 12 deletions

View File

@@ -89,7 +89,7 @@
<td>{{ item }}</td>
{% endfor %}
{% if result.is_enabled and result.approved_at %}
<td><button>disable</button></td>
<td><button data-url="{% url "admin:djrill_disable_sender" %}" data-email="{{ result.address }}">disable</button></td>
{% else %}
<td><button>enable</button></td>
{% endif %}