Django

Code

root/django/branches/newforms-admin/django/__init__.py

Revision 6014, 310 bytes (checked in by adrian, 1 year ago)

newforms-admin: Merged to [6013]

  • Property svn:eol-style set to native
  • Property svn:keywords set to LastChangedRevision
Line 
1 VERSION = (0, 97, 'newforms-admin')
2
3 def get_version():
4     "Returns the version as a human-format string."
5     v = '.'.join([str(i) for i in VERSION[:-1]])
6     if VERSION[-1]:
7         from django.utils.version import get_svn_revision
8         v = '%s-%s-%s' % (v, VERSION[-1], get_svn_revision())
9     return v
Note: See TracBrowser for help on using the browser.