Re: Noticed some strange behaviour of request.GET.get()

2010-04-08 Thread Alexey Vlasov
#x27;) > > will return an unicode string, u"public_html", instead of a normal > string, 'public_html'. > > > If it works with the byte string, try changing the line to > > subdir_path = str(request.GET.get('subdir')) > > Nuno > > 2010

Re: Noticed some strange behaviour of request.GET.get()

2010-04-07 Thread Alexey Vlasov
52AM -0400, Bill Freeman wrote: > 1. Why is this view code in urls.py? > > 2. What is the value of subdir_path in the trace back? (There's a > little arrow you can click to > see the variable values fro the frame.) > > 2010/4/7 Alexey Vlasov : > > Hi. > >

Noticed some strange behaviour of request.GET.get()

2010-04-07 Thread Alexey Vlasov
erstand it why "subdir_path" getting the same very value in one case works perfectly and in the +other fails. Django runs following the instuctions +http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/#running-django-on-a-shared-hosting-provider-wit +h-apache -- BR