Skip to content

Commit

Permalink
Fixed #20632 -- Fixed {{ docs_version }} in project template
Browse files Browse the repository at this point in the history
  • Loading branch information
bmispelon committed Jun 20, 2013
1 parent 18e79f1 commit fdbcbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/core/management/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit fdbcbb9

Please sign in to comment.