1👍
✅
The base View
class that DetailView
inherits from sets the args and kwargs to self.args
and self.kwargs
respectively early in the processing. Since it’s a named pattern, it should be in self.kwargs['name']
.
Source:stackexchange.com