#25589 closed New feature (fixed)
startapp command should support unicode name
| Reported by: | A-hông | Owned by: | Yoong Kang Lim |
|---|---|---|---|
| Component: | Internationalization | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In python3, variable/package/filename is ok with begining with Unicode character.
But the startapp command cannot do that.
python manage.py startapp 維護團隊
CommandError: '維護團隊' is not a valid app name. Please make sure the name begins with a letter or underscore.
Change History (5)
comment:1 by , 10 years ago
| Component: | Uncategorized → Internationalization |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
| Type: | Uncategorized → New feature |
| Version: | 1.8 → master |
comment:2 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 10 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Accepted → Ready for checkin |
Version 0, edited 10 years ago by (next)
Note:
See TracTickets
for help on using tickets.
I think we should indeed follow Python policy. See also PEP 3131.
Could you investigate about existing validators for such identifiers?