1👍
✅
Your URL captures the username as slug
, so you can get it from self.kwargs['slug']
.
Source:stackexchange.com
1👍
Your URL captures the username as slug
, so you can get it from self.kwargs['slug']
.