equal
deleted
inserted
replaced
145 'scope' : to_user, |
145 'scope' : to_user, |
146 'link_id' :'t%i' % (time.time()), |
146 'link_id' :'t%i' % (time.time()), |
147 'scope_path' : to_user.link_id |
147 'scope_path' : to_user.link_id |
148 } |
148 } |
149 |
149 |
150 key_fields = model_logic.notification.logic.getKeyFieldsFromDict(fields) |
150 key_fields = model_logic.notification.logic.getKeyFieldsFromFields(fields) |
151 |
151 |
152 # create and put a new notification in the datastore |
152 # create and put a new notification in the datastore |
153 model_logic.notification.logic.updateOrCreateFromFields(fields, key_fields) |
153 model_logic.notification.logic.updateOrCreateFromFields(fields, key_fields) |
154 |
154 |
155 |
155 |