django-rosetta/rosetta/__init__.py

7 lines
170 B
Python
Raw Normal View History

2016-05-21 13:44:58 +00:00
VERSION = (0, 7, 12)
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]])