diff --git a/django/utils/version.py b/django/utils/version.py index 2271d415dbe..e0a8286e48f 100644 --- a/django/utils/version.py +++ b/django/utils/version.py @@ -30,7 +30,7 @@ def get_version(version=None): mapping = {'alpha': 'a', 'beta': 'b', 'rc': 'c'} sub = mapping[version[3]] + str(version[4]) - return main + sub + return str(main + sub) def get_git_changeset(): """Returns a numeric identifier of the latest git changeset.