#19142 closed Bug (fixed)
accept_language_re rejects languages which include numeric UN region codes
| Reported by: | Simon Meers | Owned by: | Jan Bednařík |
|---|---|---|---|
| Component: | Internationalization | Version: | 1.4 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
e.g. "es-419"
See discussion on https://github.com/django/django/pull/87
Change History (10)
comment:1 by , 13 years ago
| Easy pickings: | set |
|---|---|
| Has patch: | set |
| Needs tests: | set |
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 13 years ago
| Owner: | changed from to |
|---|
comment:3 by , 13 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:4 by , 13 years ago
| Needs tests: | unset |
|---|
comment:5 by , 13 years ago
| Triage Stage: | Ready for checkin → Accepted |
|---|
comment:6 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:8 by , 13 years ago
The package downloaded by PIP has not the fix. I tried upgrading but is the same package.
Is possible update that? Because I'm using Heroku, so I can't modify the code of Django, I only can use pip.
comment:9 by , 13 years ago
The fix is available in the 1.5.X which you can install by issuing a pip install https://github.com/django/django/tree/stable/1.5.x.tar.gz until the final version is released.
comment:10 by , 13 years ago
Thank you charettes!
I didn't know that I could install a tar.gz directly from pip.
https://github.com/django/django/pull/457