yunojuno / django-request-token

Django app that uses JWT to manage one-time and expiring tokens to protected URLs. Not related to DRF.
MIT License
47 stars 23 forks source link

Add template tag for rendering query strings #32

Closed tim-mccurrach closed 5 years ago

tim-mccurrach commented 5 years ago

What has changed A template tag has been added which renders the query-string to append to the end of a url.

Why has this changed This is simply for convenience in templates to avoid things such as: {% if request.token %}{{JWT_QUERYSTRING_ARG}}?={{request.token.jwt}}{% endif %}