Added choose_service using services_dao.

This commit is contained in:
Nicholas Staples
2016-01-18 11:15:14 +00:00
parent 4e2019c949
commit a09ac6cbf5
5 changed files with 74 additions and 15 deletions

26
app/main/utils.py Normal file
View File

@@ -0,0 +1,26 @@
class BrowsableItem(object):
"""
Maps for the template browse-list.
"""
def __init__(self, item, *args, **kwargs):
self._item = item
super(BrowsableItem, self).__init__()
@property
def title(self):
pass
@property
def link(self):
pass
@property
def hint(self):
pass
@property
def destructive(self):
pass