On Apr 29, 1:42 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sat, 2007-04-28 at 15:22 +, omat * gezgin.com wrote:
> > Because request.META['PATH_INFO'] is only available when running the
> > test server.
>
> > This is also a point of inconvenience and I think the test server
> > shou
On Sat, 2007-04-28 at 15:22 +, omat * gezgin.com wrote:
> Because request.META['PATH_INFO'] is only available when running the
> test server.
>
> This is also a point of inconvenience and I think the test server
> should be made more compatible with apache.
Apache is not the only web server
Because request.META['PATH_INFO'] is only available when running the
test server.
This is also a point of inconvenience and I think the test server
should be made more compatible with apache.
On 28 Nisan, 17:28, Sam <[EMAIL PROTECTED]> wrote:
> Why don't you also use request.META['PATH_INFO']
Why don't you also use request.META['PATH_INFO'] at production level ?
uri = request.META.get('PATH_INFO')
On 28 avr, 12:53, "omat * gezgin.com" <[EMAIL PROTECTED]> wrote:
> I need to use the current request URI in a template. Thus, I am
> passing the uri as a context variable, which is:
>
> uri
I need to use the current request URI in a template. Thus, I am
passing the uri as a context variable, which is:
uri = request.META.get('REQUEST_URI') or request.META.get('PATH_INFO')
When I use this expression in the test server, which uses the
request.META.get('PATH_INFO'), everything is fine
5 matches
Mail list logo