2
You can access the URL parameters via request
through the resolver_match
attribute. So for instance you can do request.resolver_match.kwargs['id']
to get the ID kwarg.
Source:stackexchange.com
2
You can access the URL parameters via request
through the resolver_match
attribute. So for instance you can do request.resolver_match.kwargs['id']
to get the ID kwarg.