mirror of
https://github.com/django/django.git
synced 2025-08-18 01:30:42 +00:00
![]() Debian packages unconditionally byte-compile .py files on installation and
do not silence errors by design. Therefore, we need a way of shipping these
invalid .py files without a .py extension but ensuring that when we
template them, they end up as .py.
We don't special-case .py files so that the all the TemplateCommand
command-line options (eg. extra_files and extensions) still work entirely
as expected and it may even be useful for other formats too.
Backport of
|
||
---|---|---|
.. | ||
app_raising_messages | ||
app_raising_warning | ||
app_with_import | ||
broken_app | ||
complex_app | ||
custom_templates | ||
management | ||
simple_app | ||
__init__.py | ||
tests.py | ||
urls.py |