Commit 65f681cd3b0b9bce82c34438705283b7448a69f5

Authored by Luan
1 parent 625fee05

Updating open-data

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
src/templates/open-data.html
@@ -65,10 +65,10 @@ @@ -65,10 +65,10 @@
65 <h4><i>fieldname</i> - {% trans "The field name" %}</h4> 65 <h4><i>fieldname</i> - {% trans "The field name" %}</h4>
66 {% trans "If you are looking for a specific wiki, and you know the wiki's name, you can filter it as below" %} 66 {% trans "If you are looking for a specific wiki, and you know the wiki's name, you can filter it as below" %}
67 <p><i>...{{ BASE_API_URL }}wiki/?name={% trans "WikiName" %}</i></p> 67 <p><i>...{{ BASE_API_URL }}wiki/?name={% trans "WikiName" %}</i></p>
68 - {% trans "You can also filter using Django lookup fields as below" %}  
69 - <p><i>...{{ BASE_API_URL }}wiki/?name__startswith={% trans "Wiki" %}</i></p>  
70 - <p><i>...{{ BASE_API_URL }}wiki/?name__endswith={% trans "Name" %}</i></p>  
71 - <p><i>...{{ BASE_API_URL }}wiki/?name__contains={% trans "Wiki" %}</i></p> 68 + {% trans "Where &quot;name&quot; is the fieldname and &quot;WikiName&quot; is the value you want to filter. You can also filter using Django lookup fields as below" %}
  69 + <p><i>...{{ BASE_API_URL }}wiki/?wiki_text__startswith={% trans "Wiki" %}</i></p>
  70 + <p><i>...{{ BASE_API_URL }}ticket/?author__endswith={% trans "test" %}</i></p>
  71 + <p><i>...{{ BASE_API_URL }}message/?body__contains={% trans "test" %}</i></p>
72 </li> 72 </li>
73 </ul> 73 </ul>
74 </div> 74 </div>