Slight tiny up of templates_dao

- 1 method per get query
- logic around create/update removed
This commit is contained in:
Martyn Inglis
2016-02-22 09:46:16 +00:00
parent cc720b137f
commit 443691402f
3 changed files with 125 additions and 39 deletions

View File

@@ -1,5 +1,3 @@
import json
from . import DAOException
from app import db
from app.models import Service
from sqlalchemy import asc