urls from future in templates

This commit is contained in:
volpino
2012-05-06 20:27:14 +02:00
parent 948c5b8c39
commit 23f43e869a
15 changed files with 132 additions and 103 deletions

View File

@ -3,6 +3,8 @@
{% load div %}
{% load mul %}
{% load url from future %}
<table id="table" class="display">
<thead>
<th>Package</th>
@ -18,7 +20,7 @@
{% for package in packages %}
<tr>
<td>
<a href="{% url djeuscan.views.package package.category package.name %}">
<a href="{% url "package" package.category package.name %}">
{{ package.category }}/{{ package.name }}
</a>
{% package_bar package %}