Thanks a lot for your responses. I managed to track down the problem
further with the help of the information you provided.
In my wsgi script I have:
sys.stdout = sys.stderr
(So that's the reason why output is redirected to error files as
Graham mentioned.)
My view file is:
# coding=utf-
On Feb 17, 3:01 pm, Malcolm Tredinnick
wrote:
> > I think I should have clarified some more facts about my setup.
> > 1- On mac, django is running on dev mode, so stdout is the console. On
> > linux, it'smod_wsgi, so stdout is redirected to apache error log
> > files, on which I'm issuing a "tail
On Mon, 2009-02-16 at 19:03 -0800, Polat Tuzla wrote:
> Thanks a lot for your reply Malcolm.
> It's OK if I don't understand the reason of different behaviours, but
> I must find a proper way of writing log files on the linux server.
Aah, context certainly helps with understanding the broader iss
Thanks a lot for your reply Malcolm.
It's OK if I don't understand the reason of different behaviours, but
I must find a proper way of writing log files on the linux server.
I think I should have clarified some more facts about my setup.
1- On mac, django is running on dev mode, so stdout is the
On Mon, 2009-02-16 at 17:55 -0800, Polat Tuzla wrote:
> Hi,
> I've the same django app deployed to my local mac os x and linux
> server. I print the username in my view function to the standart
> output:
> def my_view(request):
> print request.user
>
> On mac it prints:
> İşÖ
>
>
Hi,
I've the same django app deployed to my local mac os x and linux
server. I print the username in my view function to the standart
output:
def my_view(request):
print request.user
On mac it prints:
İşÖ
which is what i expect. But on linux it prints:
\xc4\xb0\xc5\x9f\xc3\x9
6 matches
Mail list logo