Skip to content

Commit

Permalink
Fix python example in Data API window
Browse files Browse the repository at this point in the history
Fixes #20146
  • Loading branch information
jqnatividad committed Nov 12, 2014
1 parent 814edd8 commit a887039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/ajax_snippets/api_info.html
Expand Up @@ -121,7 +121,7 @@ <h3>
<div class="accordion-inner">
<pre>
import urllib
url = '{{ datastore_root_url }}/datastore_search?limit=5&amp;q=title:jones'
url = '{{ datastore_root_url }}/datastore_search?resource_id={{resource_id}}&amp;limit=5&amp;q=title:jones'
fileobj = urllib.urlopen(url)
print fileobj.read()
</pre>
Expand Down

0 comments on commit a887039

Please sign in to comment.