Created
October 4, 2012 15:03
-
-
Save andergmartins/3834177 to your computer and use it in GitHub Desktop.
Django - Fix locale.getdefaultlocale() for OS X 10.8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fix locale.getdefaultlocale() on OS X 10.8 - Mountain Lion | |
os.environ['LANG'] = 'en_US.UTF-8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use that inside your settings.py, like that: