Collect static copies a .py file
|Reported by:||Camilo Nova||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When you run a collectstatic the file compress.py gets copied to the static directory, and that doesn't seem right.
I have created a pull request because this was generating PEP8 warnings for a project, but looking at the comments i agree this file shouldn't be copied.
Maybe some can tweak the collectstatic command so it ignores .py files.
Change History (16)
comment:1 Changed 4 years ago by
|Component:||contrib.staticfiles → contrib.admin|
|Triage Stage:||Unreviewed → Accepted|
|Type:||Cleanup/optimization → Bug|