Skip to content

Commit

Permalink
url_add_to_favorites has only on argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Amirouche Boubekki committed Aug 17, 2011
1 parent d85f38b commit aa8f6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_project/templates/test_project/dummy_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ <h1>Dummy objects</h1>

<ul>
{% for object in object_list %}
<li><a href="{% url_add_to_favorites 'favorites' object %}">{{object}}</a></li>
<li>{{object}} [<a href="{% url_add_to_favorites object %}">add to favorite</a>]</li>
{% endfor %}
</ul>

0 comments on commit aa8f6c0

Please sign in to comment.