tags:

views:

28

answers:

1

Say I wanted to add some imports to the file generated when I run:

paster controller controllern_name

Is this possible?

+2  A: 

I assume you want to modify the pylons templates -- in this case controller.py_tmpl. It's best to create your own set of templates based on the ones from pylons, and then use them when starting a new project.

Radomir Dopieralski
Don't change the pylons default temaplate, you can use py_tmpl as base to others...
renatopp