[WIP] On create of notification. Upsert record for template stats

recording usages of template by day.
This commit is contained in:
Adam Shimali
2016-03-31 15:57:50 +01:00
parent 7ec1f31bab
commit ca9c886c3e
6 changed files with 289 additions and 28 deletions

View File

@@ -20,11 +20,11 @@ from app.dao import (
services_dao,
notifications_dao
)
from app.schemas import (
email_notification_schema,
sms_template_notification_schema,
notification_status_schema,
template_schema,
notifications_filter_schema
)
from app.celery.tasks import send_sms, send_email