summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/api.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-27 19:02:32 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-27 23:38:36 +0100
commit07c1a4a2b4211c1975f9d641401636a8cbc35f9c (patch)
treec18e9a619552eb9a777a27b126ca9ca62624b25c /hyperkitty/templates/api.html
parent628d011c865da76054d6b72ddf3f0f5e7341f649 (diff)
downloadhyperkitty-07c1a4a2b4211c1975f9d641401636a8cbc35f9c.tar.gz
hyperkitty-07c1a4a2b4211c1975f9d641401636a8cbc35f9c.tar.xz
hyperkitty-07c1a4a2b4211c1975f9d641401636a8cbc35f9c.zip
Switch to the new-style "url" tag
Required by Django >= 1.5 https://docs.djangoproject.com/en/1.5/releases/1.5/
Diffstat (limited to 'hyperkitty/templates/api.html')
-rw-r--r--hyperkitty/templates/api.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/hyperkitty/templates/api.html b/hyperkitty/templates/api.html
index 763574b..4c4af27 100644
--- a/hyperkitty/templates/api.html
+++ b/hyperkitty/templates/api.html
@@ -32,8 +32,8 @@
Using the address /api/email/&lt;list name&gt;/&lt;Message-ID&gt; you will be able to
retrieve the information known about a specific email on the specified mailing-list.
</p>
- <p> For example: <a href="{% url api_email mlist_fqdn='devel@fp.o', hashid='13129854572893334' %}">
- {% url api_email mlist_fqdn='devel@fp.o', hashid='13129854572893334' %}
+ <p> For example: <a href="{% url 'api_email' mlist_fqdn='devel@fp.o' hashid='13129854572893334' %}">
+ {% url 'api_email' mlist_fqdn='devel@fp.o' hashid='13129854572893334' %}
</a>
</p>
</div>
@@ -43,8 +43,8 @@ retrieve the information known about a specific email on the specified mailing-l
Using the address /api/thread/&lt;list name&gt;/&lt;Message-ID&gt; you will be able to
retrieve the all the email for a specific thread on the specified mailing-list.
</p>
- <p> For example: <a href="{% url api_thread mlist_fqdn='devel@fp.o', threadid='13129854572893334' %}">
- {% url api_thread mlist_fqdn='devel@fp.o', threadid='13129854572893334' %}
+ <p> For example: <a href="{% url 'api_thread' mlist_fqdn='devel@fp.o' threadid='13129854572893334' %}">
+ {% url 'api_thread' mlist_fqdn='devel@fp.o' threadid='13129854572893334' %}
</a>
</p>
</div>
@@ -61,8 +61,8 @@ search for all emails of the specified mailing-list containing the provided keyw
<li>Content</li>
<li>SubjectContent</li>
</ul>
- <p> For example: <a href="{% url api_search mlist_fqdn='devel@fp.o', field='From', keyword='pingoured' %}">
- {% url api_search mlist_fqdn='devel@fp.o', field='From', keyword='pingoured' %}
+ <p> For example: <a href="{% url 'api_search' mlist_fqdn='devel@fp.o' field='From' keyword='pingoured' %}">
+ {% url 'api_search' mlist_fqdn='devel@fp.o' field='From' keyword='pingoured' %}
</a>
</p>
</div>