Skip to content

Provide template tag for query-strings #28

@tim-mccurrach

Description

@tim-mccurrach

It is a common use case to have something like this in templates:
{% if request.token %}{{JWT_QUERYSTRING_ARG}}?={{request.token.jwt}}{% endif %}

This requires importing JWT_QUERYSTRING_ARG in the view layer and adding it to the context, and could be better achieved with a template tag {% request_token_querystring %}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions