Ticket #9272: admin_site_root.diff
File admin_site_root.diff, 467 bytes (added by , 16 years ago) |
---|
-
sites.py
old new 128 128 self.check_dependencies() 129 129 130 130 # Figure out the admin base URL path and stash it for later use 131 self.root_path = re.sub(re.escape(url) + '$', '', request.path )131 self.root_path = re.sub(re.escape(url) + '$', '', request.path_info) 132 132 133 133 url = url.rstrip('/') # Trim trailing slash, if it exists. 134 134