]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/mail-settings.html
Django 1.5 compatibility fixes
[patchwork] / templates / patchwork / mail-settings.html
index 303139aa33c1630ddc1960d82471a9a2d69c6aa5..440af087c6c8280a8be0538f5351f6d3efd25e03 100644 (file)
@@ -13,7 +13,7 @@
   <td>Patchwork <strong>may not</strong> send automated notifications to
    this address.</td>
   <td>
-   <form method="post" action="{% url patchwork.views.mail.optin %}">
+   <form method="post" action="{% url 'patchwork.views.mail.optin' %}">
     {% csrf_token %}
     <input type="hidden" name="email" value="{{email}}"/>
     <input type="submit" value="Opt-in"/>
@@ -24,7 +24,7 @@
   <td>Patchwork <strong>may</strong> send automated notifications to
    this address.</td>
   <td>
-   <form method="post" action="{% url patchwork.views.mail.optout %}">
+   <form method="post" action="{% url 'patchwork.views.mail.optout' %}">
     {% csrf_token %}
     <input type="hidden" name="email" value="{{email}}"/>
     <input type="submit" value="Opt-out"/>