﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
541	[patch] Making generic views use other templates like Zope3 ZPT	jpaulofarias@…	Jacob	"Hi!

I was wondering if it is possible to use other template engines with generic views.

I think making template_loader a parameter of object_list at file list_detail.py, with default value django.core.template_loader should make it flexible enough to use any template engine.

The user could, then, switch to zope3 zpt by adding a key on the dict of the url patterns parameter, like this:

{{{
from django.contrib.pagetemplate import pagetemplate

info_dict = {
  'app_label': 'myapp',
  'app_module': 'mymodule',
  'template_loader': pagetemplate,
}
}}}

Hope this will be helpful.

--
João Paulo Fernandes Farias

"	enhancement	closed	Generic views	1.0	normal	fixed			Unreviewed	1	0	1	1	0	0
