Mercurial > public > sg101
diff gpp/templates/forums/post_edit_button.html @ 310:daa2916f5b34
Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 20 Jan 2011 04:03:48 +0000 |
parents | cb72577785df |
children | 88b2b9cb8c1f |
line wrap: on
line diff
--- a/gpp/templates/forums/post_edit_button.html Mon Jan 17 04:00:59 2011 +0000 +++ b/gpp/templates/forums/post_edit_button.html Thu Jan 20 04:03:48 2011 +0000 @@ -1,3 +1,4 @@ +{% load url from future %} {% if show_button %} -<a href="{% url forums-edit_post id=post.id %}"><img src="{{ MEDIA_URL }}icons/page_edit.png" alt="Edit post" title="Edit post" /></a> +<a href="{% url 'forums-edit_post' id=post.id %}"><img src="{{ MEDIA_URL }}icons/page_edit.png" alt="Edit post" title="Edit post" /></a> {% endif %}