for a quick fix you could also import pdb pdb.set_trace()
that will drop a shell in your "runserver" window and let you explore the value of variables in the context On Wed, Jun 22, 2011 at 8:59 PM, Shawn Milochik <sh...@milochik.com> wrote: > On 06/22/2011 11:26 AM, jay K. wrote: > >> Hello, everyone >> >> I have a django page which loads indefinitely >> >> some of the javascript that is supposed to come up does not appear on >> the screen (while >> the page is still loading), but i checked with firebugs and there are >> no error messages at all >> >> any advice would be helpful >> >> thanks >> >> jay k >> >> Put some logging statements in the view and see if it finishes. Instead > of just returning your render or render_to_response, assign it to a > variable, print it out in the log, then return the variable. > > This will help you determine whether the problem is in the view (view logic > or template rendering) or a JS/other problem in your browser. > > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to django-users+unsubscribe@** > googlegroups.com <django-users%2bunsubscr...@googlegroups.com>. > For more options, visit this group at http://groups.google.com/** > group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en> > . > > -- Yours, Nikhil Somaru -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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.