- Change updated_tags into the expected dict, not a list

- Update the event code on both sides to expect the dict
- Add filter support to the string builder
This commit is contained in:
Joseph Schorr 2014-08-05 17:45:40 -04:00
parent 420d02cd71
commit 7e8713171e
3 changed files with 35 additions and 7 deletions

View file

@ -313,7 +313,7 @@ def populate_database():
outside_org.verified = True
outside_org.save()
model.create_notification('test_notification', new_user_1, metadata={'some': 'value'})
model.create_notification('test_notification', new_user_1, metadata={'some': 'value', 'arr': [1,2,3], 'obj': {'a': 1, 'b': 2}})
from_date = datetime.utcnow()
to_date = from_date + timedelta(hours=1)