Add '+dev' suffix to all versions on about page

This commit is contained in:
Lance Edgar 2016-12-11 19:42:26 -06:00
parent b5c81244ac
commit db9deffaa6

View file

@ -13,13 +13,15 @@ import rattail_demo
class CommonView(base.CommonView):
project_title = "Rattail Demo"
project_version = rattail_demo.__version__
project_version = rattail_demo.__version__ + '+dev'
def get_packages(self):
import rattail_tempmon
packages = super(CommonView, self).get_packages()
packages['rattail-tempmon'] = rattail_tempmon.__version__
for key in packages:
packages[key] = packages[key] + '+dev'
return packages