Newbie Question about app configuration

2011-03-06 Thread Ben
I have question about custom configuration, for example if I want to config a Secret Key for my app security and I want to put it in development.ini (production.ini may have a different value). How can I access this value in my views? It seems all settings in development.ini is only access in __ini

Re: How do I combine paster templates?

2011-03-06 Thread Sasker
Thanks, I will post to pylons-discuss from now on. On Mar 6, 4:22 pm, Ben Bangert wrote: > On Mar 5, 2011, at 12:34 PM, Sasker wrote: > > > Also, I apologize if I am posting to the wrong group, I wasn't quite > > sure which group I should be posting to. > > No worries, this should be posted on t

Re: How do I combine paster templates?

2011-03-06 Thread Sasker
Thanks! I will try it out. On Mar 5, 12:39 pm, Chris McDonough wrote: > You can't combine them but you can start out using "paster create -t > pyramid_routesalchemy myproject" then change the result to use Jinja2 > using the docs from pyramid_jinja2 > athttp://docs.pylonsproject.org/projects/pyr

Re: How do I combine paster templates?

2011-03-06 Thread Ben Bangert
On Mar 5, 2011, at 12:34 PM, Sasker wrote: > Also, I apologize if I am posting to the wrong group, I wasn't quite > sure which group I should be posting to. No worries, this should be posted on the pylons-discuss list. Pylons-devel is for development related to Pylons projects, the Pyramid frame

Re: mod_wsgi mako - unable to find template

2011-03-06 Thread Reed O'Brien
On Mar 4, 6:02 am, pgiraud wrote: > Hi all, > > I just created a new project using the pyramid_sqla template (which > includes mako template engine). > Then followed the "run under mod_wsgi" instructions [1], but I get the > following error: > TopLevelLookupException: Cant locate template for uri

Re: mod_wsgi mako - unable to find template

2011-03-06 Thread Eric Lemoine
On Saturday, March 5, 2011, Pierre GIRAUD wrote: > I should have said that the project works perfectly with paster either > with development.ini or production.ini but not when serving via > mod_wsgi. > I didn't change anything in the project and I didn't add any specific route. > > I'm still stuck