Tuesday, June 5, 2012

Re: Django unsupported locale settings

On 6/5/12 4:06 AM, Mo Mughrabi wrote:

I've been developing an application using Django for the past a year. The application was written in a Debian environment, the development and testing was entirely done in a debain machine.

Recently, I decided to move the application to my local Mac OS X based laptop. using port's I did a virtual environment and pulled my project from github. When I try to runserver, am getting "unsupported locale setting" exception.


Mac-based development is working great for me. But you do have to modify manage.py slightly, and add the following:

os.environ.setdefault(‘LANG’,’en_CA’)

hth

                           - Tom

No comments:

Post a Comment