SCRIPT_NAME vs. PATH_INFO with lighttpd/fastCGI,

2007-01-28 Thread Mihai Preda
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 --~--~-~--~-

FastCGI vs. mod_python as "current preferred setup"

2007-01-25 Thread 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

Re: APPEND_SLASH alternative

2007-01-04 Thread Mihai Preda
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. -

APPEND_SLASH alternative

2007-01-03 Thread Mihai Preda
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

URL design for the admin application

2006-12-29 Thread Mihai Preda
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