Re: Background Jobs

2009-03-13 Thread Stephen DeGrace
x27;m probably going to start a branch of my site and try implementing the thumbmaker that way. On Thu, Mar 12, 2009 at 9:16 PM, Stephen DeGrace wrote: > I was facing this problem myself recently. I am running Django 1.0.2 with > Python 2.5.1 on Webfaction... I have a Gallery app that lets

Re: Understanding sessions

2009-03-13 Thread Stephen DeGrace
It's not putting anything into the session. The session is basically a jazzed-up dictionary, and the get method works pretty much just like it does with the dictionary, it will try and get the objected pointed to by the key (the first argument) but if that doesn't work, it returns the default (the

Re: Background Jobs

2009-03-12 Thread Stephen DeGrace
I was facing this problem myself recently. I am running Django 1.0.2 with Python 2.5.1 on Webfaction... I have a Gallery app that lets you upload photos through a web form, or else you can dump photos into the gallery directory with scp and the gallery auto-discovers them and builds model instances

Re: Django processes under Apache

2009-02-22 Thread Stephen DeGrace
Based on my experiments, it does seem like each Apache process maintains a live Django object which it reuses request after request and which maintains state such as global variables in modules between requests. Does that mean that a Django instance has some kind of loop in it that waits for reques

Re: Changing the name of a project

2009-02-12 Thread Stephen DeGrace
Oh yeah, and the biggest thing: Thanks you guys! You're awesome. Now to figure out deploying the site on WebFaction with mod_wsgi :) On Fri, Feb 13, 2009 at 1:18 AM, Stephen DeGrace wrote: > LOL I'm an even bigger idiot than you guys think :). At the end of the > operation whe

Re: Changing the name of a project

2009-02-12 Thread Stephen DeGrace
rd eh? Anyway, I won't try that again, although it was interesting. Can you believe I did not know you didn't have the use the project name in imports. I went through my entire project and got rid of the project name in imports. On Fri, Feb 13, 2009 at 12:43 AM, Stephen DeGrace wrote: > We

Re: Changing the name of a project

2009-02-12 Thread Stephen DeGrace
Well, if I can't fix it it's not the end of the world because it's backed up with the old name, but I really want to figure out how to go about changing the project name. Anyway both names are pretty distinctive and extremely unlikely to occur incidentally in any unrelated strings. I'll post the t