Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Output:

Code Block
full=1&page=5
Note

Be aware of the risk of cross site scripting (XSS) vulnerability. Do not directly render the query string in your templates.

request.query_object

Converts the query string into an object

...

Code Block
{{ request.query_object.page }}

Output:

Code Block
5
Note

Be aware of the risk of cross site scripting (XSS) vulnerability. Do not directly render any query object variable in your templates.

request.url

Returns the full current url.

...