summaryrefslogtreecommitdiff
path: root/django/__init__.py
blob: 17d8c519ccf6057895dbe36a4b0bab2b88e930af (plain)
1
2
3
4
5
6
7
8
VERSION = (0, 97, 'pre')

def get_version():
    "Returns the version as a human-format string."
    v = '.'.join([str(i) for i in VERSION[:-1]])
    if VERSION[-1]:
        v += '-' + VERSION[-1]
    return v