diff --git a/django/test/client.py b/django/test/client.py index 7047c5e8fa..a57793a2f6 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -97,7 +97,7 @@ def store_rendered_templates(store, signal, sender, template, context, **kwargs) The context is copied so that it is an accurate representation at the time of rendering. """ - store.setdefault('templates', []).append(template) + store.setdefault('template', []).append(template) store.setdefault('context', ContextList()).append(copy(context)) def encode_multipart(boundary, data):