diff options
author | Adrien Dorsaz <adrien@adorsaz.ch> | 2013-07-30 14:07:05 +0200 |
---|---|---|
committer | Adrien Dorsaz <adrien@adorsaz.ch> | 2013-07-30 14:07:05 +0200 |
commit | 6a42acaa114548e052f5cd9c5835b4c2354d5e9d (patch) | |
tree | 76672fcd867d871e2ef4155aefce7047eecffe23 /papillon/templates/edit.html | |
parent | 46e9a6df67e8ff0d49e830642fa2762c521355fa (diff) | |
download | Papillon-6a42acaa114548e052f5cd9c5835b4c2354d5e9d.tar.bz2 Papillon-6a42acaa114548e052f5cd9c5835b4c2354d5e9d.zip |
Update url function in templates to django 1.5
Diffstat (limited to 'papillon/templates/edit.html')
-rw-r--r-- | papillon/templates/edit.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/papillon/templates/edit.html b/papillon/templates/edit.html index 2f77a7e..9e470c6 100644 --- a/papillon/templates/edit.html +++ b/papillon/templates/edit.html @@ -16,7 +16,7 @@ <tr> <td><label>{% trans "Poll url" %}</label></td> <td> -<a href='{% url poll poll.base_url%}'>{{ base_url }}</a> +<a href='{% url "poll" poll.base_url%}'>{{ base_url }}</a> </td> <td class='form_description'><p> {% trans "Copy this address and send it to voters who want to participate to this poll" %} @@ -25,7 +25,7 @@ <tr> <td><label>{% trans "Administration url" %}</label></td> <td> -<a href='{% url edit poll.admin_url %}'>{{ edit_url }}</a> +<a href='{% url "edit" poll.admin_url %}'>{{ edit_url }}</a> </td> <td class='form_description'><p> {% trans "Address to modify the current poll" %} @@ -34,7 +34,7 @@ <tr> <td><label>{% trans "Choices administration url" %}</label></td> <td> -<a href='{% url edit_choices_admin poll.admin_url %}'>{{choices_url }}</a> +<a href='{% url "edit_choices_admin" poll.admin_url %}'>{{choices_url }}</a> </td> <td class='form_description'><p> {% trans "Address to modify choices of the current poll." %} |