Error: “unsupported locale setting” on Python / OSX
问题 I've got the following error trying to run a local Python scriot on OSX Lion 10.7: You are using the base settings file. You are advised to create a local.py file (based on local_sample.py) with your personal settings. Traceback (most recent call last): File "manage.py", line 39, in <module> detect_port(sys.argv) File "manage.py", line 22, in detect_port default_port = getattr(settings, 'RUNSERVER_PORT', None) File "/Library/Python/2.7/site-packages/django/conf/__init__.py", line 53, in _