﻿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	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:

[code]

from django.contrib.pagetemplate import pagetemplate

info_dict = {
  'app_label': 'myapp',
  'app_module': 'mymodule',
  'template_loader': pagetemplate,
}

[/code]

Hope this will be helpful.

--
João Paulo Fernandes Farias

"	enhancement	new	Generic views		normal				Unreviewed	1	0	0	0	0	0
