I am out of the office today. If the issue is important then please contact James Pirret on: [email protected] 07740411034
On 18 Dec 2009, at 10:23, [email protected] wrote: > Today's Topic Summary > Group: http://groups.google.com/group/turbogears/topics > • How to know whether I'm being run through the WSGI stack? [5 > Updates] > • ANN: TurboGears 2010 North American Tour [1 Update] > Topic: How to know whether I'm being run through the WSGI stack? > • Antoine Pitrou <[email protected]> Dec 17 08:42AM -0800 > • > • Hello, > • > • I have some early configuration going on in my > model/__init__.py that > • I would like to depend on whether I'm being run from a Web > server or > • from a command-line script. Is there any easy way more... > • > • Michael Pedersen <[email protected]> Dec 17 11:54AM -0500 > • > • This sounds like a not very good idea, honestly. Putting such > logic into > • your model seems like it becomes a way to break your model > easily from > • another program. > • > • However, if you insist on doing more... > • > • Antoine Pitrou <[email protected]> Dec 17 06:04PM +0100 > • > • Le jeudi 17 décembre 2009 à 11:54 -0500, Michael Pedersen a > écrit : > • > This sounds like a not very good idea, honestly. Putting such > logic > • > into your model seems like it becomes a way to break more... > • > • "Diez B. Roggisch" <[email protected]> Dec 17 06:27PM +0100 > • > • On Thursday 17 December 2009 18:04:22 Antoine Pitrou wrote: > • > • > I need to detect this when model/__init__.py is being > imported. I don't > • > think there's any "current request" existing at the moment, > more... > • > • Antoine Pitrou <[email protected]> Dec 17 06:51PM +0100 > • > • > *first*, alter the setting, and *then* import model-code. > • > • > I agree though that it really sounds like a bad idea. What is > the actual > • > problem you try to solve with that? > • > • I wanted to change more... > • > Topic: ANN: TurboGears 2010 North American Tour > • percious <[email protected]> Dec 17 08:24AM -0800 > • > • Update: > • > • Montreal will be Tuesday March 9 at http://ConFoo.ca, it will > be an > • All Day tutorial with lunch provided, $300. > • > • Sorry for the fee there guys, but it gives us advertising and > lunch. more... > • > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" 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/turbogears?hl=en.
-- You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en.

