Re: global variable issue

2008-06-24 Thread csmithmaui
Ok...guys...I think I understand what you are saying. It gives me much relief to understand this better. I didn't realize that the server would run multiple instances of django to serve my requests. It seems I had a fundamental misunderstanding of how things work on the server. I will try to do

Re: global variable issue

2008-06-24 Thread Norman Harman
[EMAIL PROTECTED] wrote: > If I hit Ctrl-R again it puts my name back, and so on. It's like there > there are two copies of the global that I am accessing. I can't figure > this out. Any ideas? Thanks so much! Rule 1: Don't use globals. Rule 2: Don't try to store state in a stateless server,

Re: global variable issue

2008-06-24 Thread Rajesh Dhawan
Hi, > So, this all works fine on the development server on my laptop using > the latest django trunk, but on webfactions server it doesn't work all > of the time.  Sometimes when I access my object_detail( by the way I > also wrote my own freeform.html in templates/comments and modified it > to

global variable issue

2008-06-24 Thread csmithmaui
Hi, I have an error that is stumping me. It may be a django or python issue and nothing to do with webfaction butI have been working on it for a while now and don't know where else to turn. I am fairly new to Python and Django so it might be obvious to someone more experienced. I have a