diff options
| author | Chris Lamb <chris@chris-lamb.co.uk> | 2016-01-24 10:06:01 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-25 12:39:06 -0500 |
| commit | abc0777b63057e2ff97eee2ff184356051e14c47 (patch) | |
| tree | 4b879db7e88d6bd5ce7f810d62d0dd287d493b9d /django/conf/project_template | |
| parent | 9c43d8252a926f72be5a279186b42848501819b8 (diff) | |
Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.
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.
Diffstat (limited to 'django/conf/project_template')
| -rwxr-xr-x | django/conf/project_template/manage.py-tpl (renamed from django/conf/project_template/manage.py) | 0 | ||||
| -rw-r--r-- | django/conf/project_template/project_name/__init__.py-tpl (renamed from django/conf/project_template/project_name/__init__.py) | 0 | ||||
| -rw-r--r-- | django/conf/project_template/project_name/settings.py-tpl (renamed from django/conf/project_template/project_name/settings.py) | 0 | ||||
| -rw-r--r-- | django/conf/project_template/project_name/urls.py-tpl (renamed from django/conf/project_template/project_name/urls.py) | 0 | ||||
| -rw-r--r-- | django/conf/project_template/project_name/wsgi.py-tpl (renamed from django/conf/project_template/project_name/wsgi.py) | 0 |
5 files changed, 0 insertions, 0 deletions
diff --git a/django/conf/project_template/manage.py b/django/conf/project_template/manage.py-tpl index 391dd88ba4..391dd88ba4 100755 --- a/django/conf/project_template/manage.py +++ b/django/conf/project_template/manage.py-tpl diff --git a/django/conf/project_template/project_name/__init__.py b/django/conf/project_template/project_name/__init__.py-tpl index e69de29bb2..e69de29bb2 100644 --- a/django/conf/project_template/project_name/__init__.py +++ b/django/conf/project_template/project_name/__init__.py-tpl diff --git a/django/conf/project_template/project_name/settings.py b/django/conf/project_template/project_name/settings.py-tpl index 3ef0ab7900..3ef0ab7900 100644 --- a/django/conf/project_template/project_name/settings.py +++ b/django/conf/project_template/project_name/settings.py-tpl diff --git a/django/conf/project_template/project_name/urls.py b/django/conf/project_template/project_name/urls.py-tpl index 30ddffb876..30ddffb876 100644 --- a/django/conf/project_template/project_name/urls.py +++ b/django/conf/project_template/project_name/urls.py-tpl diff --git a/django/conf/project_template/project_name/wsgi.py b/django/conf/project_template/project_name/wsgi.py-tpl index 0d68b95645..0d68b95645 100644 --- a/django/conf/project_template/project_name/wsgi.py +++ b/django/conf/project_template/project_name/wsgi.py-tpl |
