Pastescript template to create a skeleton view
Notice: This plugin is unmaintained and available for adoption.
This is a pastescript template, to enable the creation of a skeleton view of a view in Trac. This view features the following:
- provides mainnav navigation (INavigationContributor)
- handles requests (IRequestHandler)
- provides templates (ITemplateProvider)
For more general purpose Trac plugin creation, see CreatePluginScript.
If you have any issues, create a new ticket.
Download the zipped source from here.
Once you have installed the software,
tracview should be listed by paster:
paster create --list-templates
To invoke the template, run the following:
paster create -t tracview FooBar
FooBar is the name of the view you want to create.