#27439: Document how to add locale for osX on Unit Tests/Troubleshooting section
for contribution
------------------------------------------------+------------------------
Reporter: Patricia Sousa | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/27439>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.3cdf2f6965bc8c82f94f5eec05db7b73%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.