#19333: Collect static copies a .py file --------------------------------------+-------------------- Reporter: camilonova | Owner: nobody Type: Cleanup/optimization | Status: new Component: contrib.staticfiles | Version: 1.4 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+-------------------- 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. https://github.com/django/django/pull/474 Maybe some can tweak the collectstatic command so it ignores .py files. -- Ticket URL: <https://code.djangoproject.com/ticket/19333> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.