Noob » Tutorial » UnicodeDecodeError in ‘basehtt p.py’

2010-10-13 Thread PureVirtual
Hi, Django People! It's my second day of getting Django basics so I'm just following the Tutorial precisely. When I first got to the admin site I noticed that it looks odd like the page has lost it's CSS. So I tried to load the CSS file mentioned in the header: http://127.0.0.1:8000/media/css/base

Re: Noob » Tutorial » UnicodeDecodeError in ‘bas ehttp.py’

2010-10-21 Thread PureVirtual
For people who might have the mentioned problem here is a simple solution (at least a workaround): rename non-ASCII keys from the registry path "HKEY_CLASSES_ROOT\MIME\Database\Content Type" (in my case there were three of them starting with "аудио" and "видео"). Source of solution (in Russian): h

Re: Noob » Tutorial » UnicodeDecodeError in ‘bas ehttp.py’

2010-10-21 Thread PureVirtual
Sandro, it's obviously a good thing to do when using non-ASCII characters *in your code*. The problem is that this exception on my system showed up whenever the mimetypes.guess_type method was called, even if it is the only line of cod in source file (except the import line) and there are no non-AS