環境 Mac OS X 10.5.6 Python 2.5.4 Django 1.0.2 問題 タイトル通り。「はじめての Django アプリ作成、その 2 ― Django v1.0 documentation」のAdminページにある「History」ってリンクをクリックしたらエラーが出た。 解決方法 $ cd /opt/local/lib/python2.5/site-packages/django/utils/ $ sudo vim tzinfo.py 以下のように修正。 try: DEFAULT_ENCODING = locale.getdefaultlocale()[1] or 'ascii' # ←この行をコメントアウトして DEFAULT_ENCODING = 'ascii' # ←この行を追加 except: # Any problems at all determin