Re: print statements don't show up

2010-01-09 Thread Ishwor Gurung
2010/1/10 aditya : > Ok, I figured it out...it turns out urls.py doesn't get executed by > runserver until I actually try a url. All I needed to do was point my > browser to localhost:8000, and everything worked as expected : Glad you figured it out :) [...] -- Regards Ishwor Gurung Key id:0xa98d

Re: print statements don't show up

2010-01-09 Thread Ishwor Gurung
2010/1/10 aditya : > Ishwor, > The print statement is actually in a core Django file. I'm trying to > get familiar with Django's source code. Unfortunately my print > statements dont seem to run. You want to make sure the monkey patching business is done correctly then. Start with the traceback an

Re: print statements don't show up

2010-01-09 Thread aditya
Ok, I figured it out...it turns out urls.py doesn't get executed by runserver until I actually try a url. All I needed to do was point my browser to localhost:8000, and everything worked as expected : Aditya On Jan 9, 8:10 pm, Ishwor Gurung wrote: > Hi Aditya, > > 2010/1/10 aditya : > > > Hi, >

Re: print statements don't show up

2010-01-09 Thread aditya
Ishwor, The print statement is actually in a core Django file. I'm trying to get familiar with Django's source code. Unfortunately my print statements dont seem to run. On Jan 9, 8:10 pm, Ishwor Gurung wrote: > Hi Aditya, > > 2010/1/10 aditya : > > > Hi, > > Has anyone run into issues with print

Re: print statements don't show up

2010-01-09 Thread Ishwor Gurung
Hi Aditya, 2010/1/10 aditya : > Hi, > Has anyone run into issues with print statements in Django? I was > curious about the core Django code, so I was poking around. My way of > discovering how things work is to run some print statements and see > their output...But my print statements aren't bein