[Answer]-Django: capturing values in url to generic class view

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'].

Leave a comment