Question is quite simple.
Let\'s say I have an URL config with line:
url(r\'^models/(?P[0-9]+)/(?P\\d+)/$\', \'Group\'
You can access positional arguments in self.args and name-based arguments in self.kwargs.
self.args
self.kwargs
class Group(ListView): def get_queryset(self): model_group_id=self.kwargs['model_group_id'] ...
See the docs for more info.