9d9bc58a99
Also add rattail-tempmon to list of packages on 'about' page
28 lines
553 B
Python
28 lines
553 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
Common views
|
|
"""
|
|
|
|
from __future__ import unicode_literals, absolute_import
|
|
|
|
from tailbone.views import common as base
|
|
|
|
import rattail_demo
|
|
|
|
|
|
class CommonView(base.CommonView):
|
|
|
|
project_title = "Rattail Demo"
|
|
project_version = rattail_demo.__version__
|
|
|
|
def get_packages(self):
|
|
import rattail_tempmon
|
|
|
|
packages = super(CommonView, self).get_packages()
|
|
packages['rattail-tempmon'] = rattail_tempmon.__version__
|
|
return packages
|
|
|
|
|
|
def includeme(config):
|
|
CommonView.defaults(config)
|