Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #20632 -- Fixed {{ docs_version }} in project template

  • Loading branch information...
commit fdbcbb9ebdd49ad693b686e132d1e9cd9a00801b 1 parent 18e79f1
@bmispelon bmispelon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/management/templates.py
View
2  django/core/management/templates.py
@@ -105,7 +105,7 @@ def handle(self, app_or_project, name, target=None, **options):
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]
Please sign in to comment.
Something went wrong with that request. Please try again.