On Sat, Jun 11, 2011 at 1:58 PM, Matt Feifarek wrote:
> On Sat, Jun 11, 2011 at 3:36 PM, Danny Navarro wrote:
>>
>> I see Pyramid as just an application (a WSGI app) that just takes
>> requests and returns responses. The rest of Pyramid functionality is
>> to configure the application in the way
Assuming that "application.ini" defines all your settings for your pyramid
app...
one way that could work for you is this
from paste.deploy import loadapp
import os
here = os.getcwd()
app = loadapp("config:application.ini", relative_to=here)
at this point any initialization
On Sat, Jun 11, 2011 at 10:58 PM, Matt Feifarek wrote:
> On Sat, Jun 11, 2011 at 3:36 PM, Danny Navarro wrote:
>>
>> I see Pyramid as just an application (a WSGI app) that just takes
>> requests and returns responses. The rest of Pyramid functionality is
>> to configure the application in the way
On Sat, Jun 11, 2011 at 3:36 PM, Danny Navarro wrote:
> I see Pyramid as just an application (a WSGI app) that just takes
> requests and returns responses. The rest of Pyramid functionality is
> to configure the application in the way it processes the requests and
> returns the responses.
Yes,
Hi Matt,
I'm not an expert in Pyramid, if I'm wrong I hope someone in the list
corrects me, so take my advice as an opinion from someone who uses
Pyramid sporadically.
I see Pyramid as just an application (a WSGI app) that just takes
requests and returns responses. The rest of Pyramid functionali
Hi there.
I'm a relatively long-time Pylons user, starting to work with Pyramid. I
like what I see, but am suffering a bit on where to find things.
I'm using traversal and a resource tree in my app (zodb template) and am
enjoying this pattern... but I can't seem to find ways to hook onto basic
ob