PEP 0263 for generated project and apps
|Reported by:||wildfire||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)
Changed 3 years ago by wildfire
comment:1 Changed 3 years ago by charettes
- Has patch unset
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset