def store_rendered_templates(store, signal, sender, template, context, **kwargs):
 store.setdefault('template', []).append(template)
 store.setdefault('context', ContextList()).append(context)

def store_rendered_templates ( store , signal , sender , template , context , ** kwargs ) : store . setdefault ( 'template' , [ ] ) . append ( template ) store . setdefault ( 'context' , ContextList ( ) ) . append ( context )
stores templates and contexts that are rendered .