app/django/__init__.py
author Todd Larsen <tlarsen@google.com>
Fri, 18 Jul 2008 18:38:41 +0000
changeset 57 e30229fd9add
parent 54 03e267d67478
child 323 ff1a9aa48cfd
permissions -rw-r--r--
HTML mockups of proposed Melange (generic), GSoC, and GHOP pages and forms. The HTML files in this directory are formatted to be viewed directly from svn via http://soc.googlecode.com/svn/trunk/mockups/. All of the paths will be relative (rooted at /svn/trunk/mockups/) and instructions will be added (in a mockups/README file) for configuring an Apache web server for previewing the pages from the svn working copy during development.

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]:
        from django.utils.version import get_svn_revision
        v = '%s-%s-%s' % (v, VERSION[-1], get_svn_revision())
    return v