take the path from the SCRIPT_NAME if PATH_INFO is
empty:
self.path = environ['PATH_INFO']
if not self.path:
self.path = environ['SCRIPT_NAME']
environ['SCRIPT_NAME'] = ''
Cheers,
Mihai Preda
--~--~-~--~-
explanation of why mod_python is preferred could also be welcome in
the documentation, next to that affirmation.
Thanks,
Mihai Preda
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" gro
I submitted a new middleware (tentativelly named SmartSlashMiddleware)
which implements the described behavior, in ticket #3228.
A couple of minor refactorings which are needed by this class are in
ticket #3224.
I hope somebody can review these patches, and commit them after
eventual fixes.
-
RLs that have or don't have a dot in the last
segment, which is good.
Cheers,
Mihai Preda
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To post to this group, send email to
Hi,
In the admin application, I remarked these two points concerning the
design of the URL space:
1. Mixed elements on the same level (non-homogenous level):
http://foo.com/admin/auth/user/1/
http://foo.com/admin/auth/user/2/
http://foo.com/admin/auth/user/add/
As you see, the last level (afte