server/python/django/renkanmanager/__init__.py
author rougeronj
Wed, 20 May 2015 10:36:37 +0200
changeset 449 aae670254c49
parent 435 e529b633c339
child 437 ad484b4b5050
permissions -rw-r--r--
add a hidebutton to the nodes buttons remove the "hidden" attribute from the node model. It is the view which controls the hidden nodes with a array of Hidden Nodes

# -*- coding: utf-8 -*-
VERSION = (0, 9, 0, "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()