View Single Post
  #3  
Old 01-23-2008, 06:56 AM
danofames danofames is offline
New Member
 
Join Date: Jan 2008
Posts: 2
an approach that seems to work and doesn't involve changing Django core files is adding a middleware request class something like this:

Code:
class SetEmptyPathInfo(object): 
    def process_request(self, request): 
        if not request.path: 
            request.META['PATH_INFO'] = '/' 
            request.path = '/'
Reply With Quote