#27439 closed Cleanup/optimization (fixed)
Document how to add locale for osX on Unit Tests/Troubleshooting section for contribution
Reported by: | Patricia Sousa | Owned by: | alix- |
---|---|---|---|
Component: | Documentation | Version: | 1.10 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
A lot of errors on the test run for contributors have to do with incorrect locale settings.
There is a troubleshooting section for this that provides instructions for Debian (https://docs.djangoproject.com/en/1.10/internals/contributing/writing-code/unit-tests/#troubleshooting).
Add documentation on how to set this definitions for osX.
This solution worked for me:
Check locales: $ locale
As LANG
wasn't set, the following command
export LANG=en_US.UTF-8
set the LANG and tests ran successfully.
Change History (5)
comment:1 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 8 years ago
Has patch: | set |
---|
comment:5 by , 8 years ago
Triage Stage: | Unreviewed → Accepted |
---|
Note:
See TracTickets
for help on using tickets.
PR https://github.com/django/django/pull/7501