diff mbox

templates: Fix regression in reversed URL

Message ID 1458584650-781-1-git-send-email-stephen.finucane@intel.com
State Accepted
Headers show

Commit Message

Stephen Finucane March 21, 2016, 6:24 p.m. UTC
'f8cc68d' introduced a regression on the changes made in 'fd3bfaa'.
Namely, Python path-style reversing was used, rather than reverse by
name. Resolve this regression.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
---
 patchwork/templates/patchwork/patch-list.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Finucane March 21, 2016, 9:21 p.m. UTC | #1
On 21 Mar 18:24, Stephen Finucane wrote:
> 'f8cc68d' introduced a regression on the changes made in 'fd3bfaa'.
> Namely, Python path-style reversing was used, rather than reverse by
> name. Resolve this regression.
> 
> Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>

Merged.
diff mbox

Patch

diff --git a/patchwork/templates/patchwork/patch-list.html b/patchwork/templates/patchwork/patch-list.html
index 167363e..afa3621 100644
--- a/patchwork/templates/patchwork/patch-list.html
+++ b/patchwork/templates/patchwork/patch-list.html
@@ -172,7 +172,7 @@  $(document).ready(function() {
    </td>
    {% endif %}
    <td>
-    <a href="{% url 'patchwork.views.patch.patch' patch_id=patch.id %}">
+    <a href="{% url 'patch-detail' patch_id=patch.id %}">
      {{ patch.name|default:"[no subject]"|truncatechars:100 }}
     </a>
    </td>