Diference between get_context_data and queryset in Django generic views?
These are completely different things.
get_context_data() is used to generate dict of variables that are accessible in template. queryset is Django ORM queryset that consists of model instances
Default implementation of get_context_data() in ListView adds return value of get_queryset() (which simply returns self.queryset by default) to context as objects_list variable.
What is the difference between get_context_data and queryset in Django generic views? They seem to do the same thing?