django-rosetta/rosetta/__init__.py

8 lines
211 B
Python
Raw Normal View History

2019-02-28 08:08:02 +00:00
VERSION = (0, 9, 2)
2016-12-13 08:48:14 +00:00
default_app_config = "rosetta.apps.RosettaAppConfig"
2011-06-16 09:25:15 +00:00
2019-02-28 07:57:33 +00:00
def get_version(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]])