Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8054d04696
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.368 kB
VERSION = (0, 3, 4)
def get_version(svn=False):
"Returns the version as a human-format string."
v = '.'.join([str(i) for i in VERSION])
if svn:
from django.utils.version import get_svn_revision
import os
svn_rev = get_svn_revision(os.path.dirname(__file__))
if svn_rev:
v = '%s-%s' % (v, svn_rev)
return v
Jump to Line
Something went wrong with that request. Please try again.