PEP 0263 for generated project and apps
|Reported by:||Anand Kumria||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have recently been working with a developer who does not natively speak English. This is the first time using Python and Django and as soon as they entered non-Ascii information into the models and view files of their app., things broke.
Attached is a patch which puts the PEP 0263 heading (#encoding: utf-8) on files that both 'startapp' and 'startproject' generate.
Change History (4)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|