django-rosetta/rosetta/__init__.py

8 lines
222 B
Python
Raw Normal View History

2018-08-24 12:21:47 +00:00
VERSION = (0, 9, 1)
2016-12-13 08:48:14 +00:00
default_app_config = "rosetta.apps.RosettaAppConfig"
2011-06-16 09:25:15 +00:00
def get_version(svn=False, limit=3):
2016-03-08 09:14:15 +00:00
"""Return the version as a human-format string."""
2012-01-16 09:36:58 +00:00
return '.'.join([str(i) for i in VERSION[:limit]])