diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2013-06-20 15:39:58 +0200 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2013-06-20 15:39:58 +0200 |
| commit | fdbcbb9ebdd49ad693b686e132d1e9cd9a00801b (patch) | |
| tree | 29a3213d234f1dfcf07406e9e4cbc84830e83b2a | |
| parent | 18e79f1425fa87f2f38df25c65203ec4d311f499 (diff) | |
Fixed #20632 -- Fixed {{ docs_version }} in project template
| -rw-r--r-- | django/core/management/templates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/templates.py b/django/core/management/templates.py index 893e5c95af..1de508d749 100644 --- a/django/core/management/templates.py +++ b/django/core/management/templates.py @@ -105,7 +105,7 @@ class TemplateCommand(BaseCommand): base_name = '%s_name' % app_or_project base_subdir = '%s_template' % app_or_project base_directory = '%s_directory' % app_or_project - if django.VERSION[-1] == 0: + if django.VERSION[-2] != 'final': docs_version = 'dev' else: docs_version = '%d.%d' % django.VERSION[:2] |
