From 65f681cd3b0b9bce82c34438705283b7448a69f5 Mon Sep 17 00:00:00 2001 From: Luan Date: Thu, 19 Dec 2013 12:06:07 -0200 Subject: [PATCH] Updating open-data --- src/templates/open-data.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/templates/open-data.html b/src/templates/open-data.html index 89b78cb..f116f49 100644 --- a/src/templates/open-data.html +++ b/src/templates/open-data.html @@ -65,10 +65,10 @@

fieldname - {% trans "The field name" %}

{% trans "If you are looking for a specific wiki, and you know the wiki's name, you can filter it as below" %}

...{{ BASE_API_URL }}wiki/?name={% trans "WikiName" %}

- {% trans "You can also filter using Django lookup fields as below" %} -

...{{ BASE_API_URL }}wiki/?name__startswith={% trans "Wiki" %}

-

...{{ BASE_API_URL }}wiki/?name__endswith={% trans "Name" %}

-

...{{ BASE_API_URL }}wiki/?name__contains={% trans "Wiki" %}

+ {% trans "Where "name" is the fieldname and "WikiName" is the value you want to filter. You can also filter using Django lookup fields as below" %} +

...{{ BASE_API_URL }}wiki/?wiki_text__startswith={% trans "Wiki" %}

+

...{{ BASE_API_URL }}ticket/?author__endswith={% trans "test" %}

+

...{{ BASE_API_URL }}message/?body__contains={% trans "test" %}

-- libgit2 0.21.2