akvo.rsr.templatetags.query_string module
- akvo.rsr.templatetags.query_string.get_query_string(p, new_params=None, remove=None)[source]
Add and remove query parameters. From django.contrib.admin.
- akvo.rsr.templatetags.query_string.query_string(context, add=None, remove=None)[source]
Allows the addition and removal of query string parameters.
_response.html is just {{ response }}
Usage: http://www.url.com/{% query_string “param_to_add=value, param_to_add=value” “param_to_remove, params_to_remove” %} http://www.url.com/{% query_string “” “filter” %}filter={{new_filter}} http://www.url.com/{% query_string “sort=value” “sort” %}