1👍
✅
Your view is expecting username
URL parameter, but it receives slug
. You can either change your URL to pass on username
instead of slug, or set lookup_url_kwarg
to slug
on your view to fix that situation.
Source:stackexchange.com