Is it possible to get an specific parameter in a url and use it in a template ?
`{{ request.path }}
It gets the whole url, i need only the 'pk' parameter, to make a link to another page.
Thanks.
I did some experiments and find that this may help:
{{ request.resolver_match.kwargs.pk }}
For more info you can check this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With