ListView doesnt work with context_object_name
|Reported by:||anamsarfraz@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I read in the documentation that the template_object_name has been replaced with context_object_name. But when I try to get the ListView of a model, it doesnt work with context_object_name but works with template_object_name. I also tried the DetailView. In DetailView, it seems that replacement has been done because I got an error when I tried to use template_object_name but DetailView worked as expected with context_object_name.