summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/complex_app/admin/foo.py
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2012-08-17 23:15:20 -0300
committerRamiro Morales <cramm0@gmail.com>2012-08-17 23:15:20 -0300
commit4c934f3921a59c7b3e088f6472b6f6da40848567 (patch)
tree90f5e62af6944ade2af4881806a09a7328495d7d /tests/regressiontests/admin_scripts/complex_app/admin/foo.py
parent6e4c9840988b1aa3ae4598a7d04b13ada078be33 (diff)
Made createsuperuser more robust when getting current OS username.
Under some versions of OS X, failure in getting the default system locale during the syncdb operation of the auth app were causing hard to diagnose problems afterwards. No solution based on getpreferredencoding() was chosen because it has its own problems with certain combinations of Python and OS X versions (e.g. http://bugs.python.org/issue6202). Thanks prestonsimmons for the report and prestonsimmons and willhardy for the initial patch. Fixes #16017.
Diffstat (limited to 'tests/regressiontests/admin_scripts/complex_app/admin/foo.py')
0 files changed, 0 insertions, 0 deletions