django-rosetta/rosetta/__init__.py
2018-08-24 14:21:47 +02:00

7 lines
222 B
Python

VERSION = (0, 9, 1)
default_app_config = "rosetta.apps.RosettaAppConfig"
def get_version(svn=False, limit=3):
"""Return the version as a human-format string."""
return '.'.join([str(i) for i in VERSION[:limit]])