Recently I wanted to create my own controller.py_tmpl file. I was wondering if there would be some interest in a patch to commands.py to check to see if the destination project has it's own controller.py_tmpl file (and presumably the other *_tmpl files) and use that instead if it exists otherwise fall back to the original in pylons/templates. If people are interested, where should these template files live so that
they won't be confused with the existing templates directory?

I've been going through an extensive re-factoring of my code and breaking apart a bloated controller into smaller ones. I realize this might not be a common use-case, so there might not be much interest in putting this into Pylons, and I could also make my own subclass of paste's Command class.

--
David Gardner
Pipeline Tools Programmer
Jim Henson Creature Shop
[email protected]


--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to