djangosnippets.org: Latest snippets tagged with 'parameters'http://djangosnippets.org/tags/parameters/2013-09-06T13:26:35.645217-05:00Url query string template tag (qurl)
2013-09-06T13:26:35.645217-05:00priccohttp://djangosnippets.org/snippets/2990/<p>qurl is a tag to append, remove or replace query string parameters from an url (preserve order)</p>
Freely redistributableAdd GET parameters from current request
2011-05-04T12:10:29.520357-05:00naktinishttp://djangosnippets.org/snippets/2428/<p>The tag generates a parameter string in form '?param1=val1&param2=val2'.
The parameter list is generated by taking all parameters from current
request.GET and optionally overriding them by providing parameters to the tag.</p>
<p>This is a cleaned up version of http://djangosnippets.org/snippets/2105/. It
solves a couple of issues, namely:
* parameters are optional …</p>
Freely redistributableAdd GET parameter tag
2010-07-12T16:34:04.376649-05:00marltuhttp://djangosnippets.org/snippets/2105/<p>This is custom tag I wrote for myself for solving situations when you have filter form and page
numbers in the same page. You want to change ?page=.. or add it if it doesn't exist to save
filter form data while moving through pages.</p>
<p>Usage: place this code in your …</p>
Freely redistributableTemplate tag: Extend with parameters
2007-10-17T08:08:36.388418-05:00miracle2khttp://djangosnippets.org/snippets/447/<p>Extended extends tag that supports passing parameters, which will be made
available in the context of the extended template (and all the way up the
hierarchy).</p>
<p>It wraps around the orginal extends tag, to avoid code duplication, and to
not miss out on possible future django enhancements.
Note: The current …</p>
Freely redistributable