organizations&organizationtypes

This commit is contained in:
Andreas Stephanides
2017-02-10 22:06:49 +01:00
parent 0c1b586962
commit 621e1ca1ad
19 changed files with 474 additions and 86 deletions

View File

@@ -0,0 +1,13 @@
from src.controller import BaseController
from .model import Organizationtype
class OrgController(BaseController):
__myclass__=Organizationtype
__jsonid__='organizationtype'
#def get_all():
# Organizationtype.query.all()
#def get(id):
# Organizationtype.query.get(id)
controller=OrgController()