summaryrefslogtreecommitdiff
path: root/django/utils/version.py
AgeCommit message (Collapse)Author
2012-10-25[1.5.x] Ensured get_version returns a native string.Aymeric Augustin
Returning unicode triggers a bug in Python 2.7: http://bugs.python.org/issue11638 This problem was introduced in 4a103086 (unicode_literals). Backport of 45c8818 from master.
2012-06-08Used git log instead of git show for last commit's timestampAnssi Kääriäinen
The reason for this was that git show included the whole changeset in the output, but only the UTC timestamp was needed. By using git log it is possible to get just the timestamp. The whole changeset can be large, and can cause unicode encoding errors.
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2012-04-29Moved version code out of __init__.py.Adrian Holovaty
Moved everything except VERSION and a get_version() stub out of the top-level __init__.py, so that we're not importing all that stuff all the time. And because it's cleaner.
2012-04-29Fixed #18224 -- Changed the dev version number.Aymeric Augustin
Following the move from SVN to git.
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵Jannis Leidel
the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03Fixed #10372: made `get_svn_revision()` more robust. Thanks, mboersma.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-24Fixed #5237 -- Added an optional 'path' argument to get_svn_revision(). ↵Adrian Holovaty
Thanks, django@poelzi.org git-svn-id: http://code.djangoproject.com/svn/django/trunk@5995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-21Fixed #5215 -- Added Subversion revision number to Django version string. ↵Adrian Holovaty
Thanks for the patch, Deryck Hodge git-svn-id: http://code.djangoproject.com/svn/django/trunk@5990 bcc190cf-cafb-0310-a4f2-bffc1f526a37