Friday, November 12, 2010

Re: Django mod_python under apache

For mod_python the result of using print will only show in Apache
error log when you do an explicit flush of stdout. If using mod_wsgi,
it autoflushes on newline so you don't have this problem.

Graham

On Nov 13, 7:29 am, vivek_12315 <vivekchauras...@gmail.com> wrote:
> I have configured Django with mod_python under apache web server.
>
> I would like to know, where can i see the print statements output for
> debugging which i put in python files in django views.
>
> I dont think print statement appears in Apache logs ...

--
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.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate