Browse files

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

  • Loading branch information...
1 parent 18e79f1 commit fdbcbb9ebdd49ad693b686e132d1e9cd9a00801b @bmispelon bmispelon committed Jun 20, 2013
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]

0 comments on commit fdbcbb9

Please sign in to comment.