\r
If you want the give your users the ability to interact with your table (e.g.\r
change the ordering), you will need to create urls with the appropriate\r
-queries. To simplify that process, django-tables comes with helpful\r
+queries. To simplify that process, django-tables comes with a helpful\r
templatetag:\r
\r
- {% set_url_param "sort" "name" %} # ?sort=name\r
- {% set_url_param "sort" %} # delete "sort" param\r
+ {% set_url_param sort="name" %} # ?sort=name\r
+ {% set_url_param sort="" %} # delete "sort" param\r
\r
The template library can be found in 'django_modules.app.templates.tables'.\r
If you add ''django_modules.app' to your INSTALLED_APPS setting, you will\r
be able to do:\r
\r
{% load tables %}\r
+ \r
+Note: The tag requires the current request to be available as ``request`` \r
+in the context (usually, this means activating the Django request context\r
+processor).\r
\r
\r
TODO\r