Re: Some thoughts about Pyramid

2011-03-05 Thread Chris Withers
On 04/03/2011 20:03, Mike Orr wrote: I'll be at the Pyramid sprint but I don't know what I'll be doing. I would like to learn Git and Pyramid-at-Github if somebody would like to do a mini crash course. Me too please! I'm currently petrified of all things git and could use some hand holding.

Re: mod_wsgi mako - unable to find template

2011-03-05 Thread Pierre GIRAUD
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. On Sat, Mar 5, 2011 at 1:27 AM, Mengu wrote: > for develo

How do I combine paster templates?

2011-03-05 Thread Sasker
Hi I am new to Pyramid and currently going through the tutorials. I was wondering how can I combine pyramid_routesalchemy and pyramid_jinja_starter templates so I can get url_dispatch + sqlalchemy + jinja2 I tried searching docs and mailing list but couldn't find how to do this. I am a little co

Re: How do I combine paster templates?

2011-03-05 Thread Chris McDonough
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 at http://docs.pylonsproject.org/projects/pyramid_jinja2/dev/ - C On Sat, 2011-03-05 at 12:34 -0800, Sasker wrote: > Hi >

Re: computing url for view registered by name

2011-03-05 Thread Michael Merickel
By leaving out the context you are effectively registering those views to *any* context, which is almost always undesirable. Regardless, my previous reply remains correct, if you want the path hanging off of /, simply use resource_url(request.root, request) and resource_url(request.root, request,