When to override get method in Django CBV?
问题 I've been learning Django and one source of confusion I have is with class based views and when to override the get method. I've looked through the documentation and it explains what get does but it doesn't explain when I should override get. I originally created a view this way: class ExampleView(generic.ListView): template_name = 'ppm/ppm.html' paginate_by = 5 def get(self, request): profiles_set = EmployeeProfile.objects.all() context = { 'profiles_set': profiles_set, 'title': 'Employee