diff --git a/django/views/generic/detail.py b/django/views/generic/detail.py index a2adb15d47..d4fb37124d 100644 --- a/django/views/generic/detail.py +++ b/django/views/generic/detail.py @@ -108,7 +108,7 @@ class SingleObjectTemplateResponseMixin(TemplateResponseMixin): def get_template_names(self): """ Return a list of template names to be used for the request. Must return - a list. May not be called if get_template is overridden. + a list. May not be called if render_to_response is overridden. """ try: names = super(SingleObjectTemplateResponseMixin, self).get_template_names() diff --git a/django/views/generic/list.py b/django/views/generic/list.py index 50127066a1..9f6e0e130c 100644 --- a/django/views/generic/list.py +++ b/django/views/generic/list.py @@ -136,7 +136,7 @@ class MultipleObjectTemplateResponseMixin(TemplateResponseMixin): def get_template_names(self): """ Return a list of template names to be used for the request. Must return - a list. May not be called if get_template is overridden. + a list. May not be called if render_to_response is overridden. """ try: names = super(MultipleObjectTemplateResponseMixin, self).get_template_names()