server/python/django2/renkanmanager/__init__.py
author durandn
Mon, 03 Oct 2016 13:50:52 +0200
changeset 637 a823999cbc42
parent 633 fdff56da097d
child 639 30b673cb13ee
permissions -rw-r--r--
added option (title_editable, default is true) to make the title uneditable in edit mode

# -*- coding: utf-8 -*-
default_app_config = 'renkanmanager.apps.RenkanManagerConfig'

VERSION = (00, 12, 22, "final", 0)


def get_version():
    version = '%s.%s' % (VERSION[0], VERSION[1])
    if VERSION[2]:
        version = '%s.%s' % (version, VERSION[2])
    if VERSION[3:] == ('alpha', 0):
        version = '%s pre-alpha' % version
    else:
        if VERSION[3] != 'final':
            version = '%s %s %s' % (version, VERSION[3], VERSION[4])
    return version


__version__ = get_version()