Ticket #10678: django-10678.diff
File django-10678.diff, 645 bytes (added by , 15 years ago) |
---|
-
django/core/handlers/modpython.py
22 22 # encoding/decoding. 23 23 self.path = force_unicode(req.uri) 24 24 root = req.get_options().get('django.root', '') 25 if root.endswith('/'): 26 raise ValueError('django.root should not end with a /') 25 27 self.django_root = root 26 28 # req.path_info isn't necessarily computed correctly in all 27 29 # circumstances (it's out of mod_python's control a bit), so we use