Parent: [00f853] (diff)

Child: [795bba] (diff)

Download this file

pastetemplate.py    17 lines (15 with data), 690 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
"""Definitions for TurboGears quickstart templates"""
from paste.script import templates
from tempita import paste_script_template_renderer
class ForgeAppTemplate(templates.Template):
"""
PyForge app plugin paste template class
"""
_template_dir = 'pastetemplates/forgeapp'
template_renderer = staticmethod(paste_script_template_renderer)
summary = 'PyForge Quickstart Template'
egg_plugins = ['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools', 'pyforge']
vars = [
templates.var('plugin_name', 'The name of the plugin entry point'),
#templates.var('auth', 'use authentication and authorization support', default="sqlalchemy"),
]