Skip to content

Commit

Permalink
Accommodate new version numbering scheme.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
ubernostrum committed Feb 16, 2012
1 parent 46671e9 commit 50c64ed
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions docs/releases/1.4-beta-1.txt
Expand Up @@ -24,6 +24,23 @@ and we've `begun the deprecation process for some features`_.
.. _backwards incompatible changes: `Backwards incompatible changes in 1.4`_
.. _begun the deprecation process for some features: `Features deprecated in 1.4`_


Version numbering
=================

Internally, Django's version number is represented by the tuple
``django.VERSION``. This is used to generate human-readable version
number strings; as of Django 1.4 beta 1, the algorithm for generating
these strings has been changed to match the recommendations of `PEP
386 <http://www.python.org/dev/peps/pep-0386/>`. This only affects the
human-readable strings identifying Django alphas, betas and release
candidates, and should not affect end users in any way.

For example purposes, the old algorithm would give Django 1.4 beta 1 a
version string of the form "1.4 beta 1". The new algorithm generates
the version string "1.4b1".


Python compatibility
====================

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -75,7 +75,7 @@ def fullsplit(path, result=None):
author = 'Django Software Foundation',
author_email = 'foundation@djangoproject.com',
description = 'A high-level Python Web framework that encourages rapid development and clean, pragmatic design.',
download_url = 'https://www.djangoproject.com/m/releases/1.4/Django-1.4-beta-1.tar.gz',
download_url = 'https://www.djangoproject.com/m/releases/1.4/Django-1.4-b1.tar.gz',
packages = packages,
cmdclass = cmdclasses,
data_files = data_files,
Expand Down

0 comments on commit 50c64ed

Please sign in to comment.