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 <ishwor.gur...@gmail.com> wrote: > Hi Aditya, > > 2010/1/10 aditya <bluemangrou...@gmail.com>: > > > 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 being printed to the > > Terminal. I've got the runserver running, and I have a print statement > > in my urls.py file which HAS to be getting called sometime, but no > > print statements. Why? > > Are you sure your view function is being executed? > -- > > Regards > Ishwor Gurung > Key id:0xa98db35e > Key fingerprint:FBEF 0D69 6DE1 C72B A5A8 35FE 5A9B F3BB 4E5E 17B5
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.