Ticket #12616: patch_admin_media_dir_list.diff
File patch_admin_media_dir_list.diff, 570 bytes (added by , 15 years ago) |
---|
-
django/core/servers/basehttp.py
684 684 status = '404 NOT FOUND' 685 685 headers = {'Content-type': 'text/plain'} 686 686 output = ['Page not found: %s' % environ['PATH_INFO']] 687 elif os.path.isdir(file_path): 688 return self.application(environ, start_response) 687 689 else: 688 690 try: 689 691 fp = open(file_path, 'rb')