Esempio n. 1
0
class MyObjectCreated(events.Event):
    id = events.CUIDField(primary_key=True)
    owner = events.CharField()
Esempio n. 2
0
class BankAccountCreated(events.Event):
    __empty_stream__ = True

    id = events.CUIDField(primary_key=True)
    owner = events.CharField()