startapp command should support unicode name
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)
Component: |
Uncategorized → Internationalization
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Uncategorized → New feature
|
Version: |
1.8 → master
|
Owner: |
changed from nobody to Yoong Kang Lim
|
Status: |
new → assigned
|
Has patch: |
set
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
I think we should indeed follow Python policy. See also PEP 3131.
Could you investigate about existing validators for such identifiers?