To use the context processor, add the following to the middlewares stack::
+ S = (
If you want to use the template tags, add ``url_tools`` to installed apps::
Same as ``UrlHelper.get_full_path()`` method, but returns the full path quoted
so that it can be used as an URL parameter value.
-The ``CurrentUrlProcessor`` will add a new variable to the template's context.
-This variable is called ``current_url``, and it's an ``UrlHelper`` instance.
-Therefore, this variable has all the properties and methods of the
+The ``current_url`` context processor will add a new variable to the template's
+context. This variable is called ``current_url``, and it's an ``UrlHelper``
+instance. Therefore, this variable has all the properties and methods of the
``UrlHelper`` class. For instance, if we are currently on ``/foo/bar?baz=1``
path, you can do the following in a template::