Commit 148afb5f authored by Arkadiusz Hiler's avatar Arkadiusz Hiler

urls: Fix todo_list naming

Both urls should be named, and don't pluralize the name when used.
Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <>
parent fb3fc1d2
......@@ -27,7 +27,7 @@ Contributor to
<div class="box">
{% if user.profile.n_todo %}
<p>Your <a href="{% url 'todo_lists' %}">todo
<p>Your <a href="{% url 'todo_list' %}">todo
list</a> contains {{ user.profile.n_todo }}
item{{ user.profile.n_todo|pluralize:"s" }}.</p>
{% else %}
......@@ -127,7 +127,8 @@ urlpatterns = [
url(r'^user/todo/$', patchwork.views.user.todo_lists,
url(r'^user/todo/(?P<project_id>[^/]+)/$', patchwork.views.user.todo_list),
url(r'^user/todo/(?P<project_id>[^/]+)/$', patchwork.views.user.todo_list,
url(r'^user/bundles/$', patchwork.views.bundle.bundles,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment