From e41fd563f3dde1c9558ab623526421b567748e67 Mon Sep 17 00:00:00 2001 From: eddumm22 Date: Fri, 26 Sep 2014 10:52:36 -0300 Subject: [PATCH] cadastro de notificação --- wscacicneo/model/notify.py | 2 +- wscacicneo/templates/notify_coleta.pt | 7 +++---- wscacicneo/views.py | 19 ++++++++++++++----- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/wscacicneo/model/notify.py b/wscacicneo/model/notify.py index 33d3adb..8ef848e 100644 --- a/wscacicneo/model/notify.py +++ b/wscacicneo/model/notify.py @@ -133,7 +133,7 @@ class Notify(notify_base.metaclass): Classe genérica de órgãos """ def __init__(self, **args): - super(Orgao, self).__init__(**args) + super(Notify, self).__init__(**args) self.documentrest = notify_base.documentrest def notify_to_dict(self): diff --git a/wscacicneo/templates/notify_coleta.pt b/wscacicneo/templates/notify_coleta.pt index a96362c..647a6c1 100644 --- a/wscacicneo/templates/notify_coleta.pt +++ b/wscacicneo/templates/notify_coleta.pt @@ -34,18 +34,17 @@