Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #349 -- Fixed bug in development server admin media on Windows.…

… Thanks, ibatugow@gmail.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c6e4b232c275b2f0da5d3f88d4ca708319eead0c 1 parent d80ac5a
Adrian Holovaty authored August 29, 2005

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/servers/basehttp.py
2  django/core/servers/basehttp.py
@@ -623,7 +623,7 @@ def __call__(self, environ, start_response):
623 623
             output = ['Page not found: %s' % file_path]
624 624
         else:
625 625
             try:
626  
-                fp = open(file_path, 'r')
  626
+                fp = open(file_path, 'rb')
627 627
             except IOError:
628 628
                 status = '401 UNAUTHORIZED'
629 629
                 headers = {'Content-type': 'text/plain'}

0 notes on commit c6e4b23

Please sign in to comment.
Something went wrong with that request. Please try again.