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 /docs/topics | |
| 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 'docs/topics')
| -rw-r--r-- | docs/topics/install.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/topics/install.txt b/docs/topics/install.txt index f0fbc47881..b5195bea57 100644 --- a/docs/topics/install.txt +++ b/docs/topics/install.txt @@ -165,8 +165,7 @@ This is the recommended way to install Django. 1. Install pip_. The easiest is to use the `standalone pip installer`_. If your distribution already has ``pip`` installed, you might need to update it if it's outdated. If it's outdated, you'll know because installation won't - work. If you're using an old version of setuptools, you might see some - :ref:`harmless SyntaxErrors <syntax-error-old-setuptools-django-19>` also. + work. 2. Take a look at virtualenv_ and virtualenvwrapper_. These tools provide isolated Python environments, which are more practical than installing |
