def _onCreate(self, entity): """Send out a message to welcome the new user. """ notifications.sendWelcomeMessage(entity) super(Logic, self)._onCreate(entity)
def _onCreate(self, entity): """Send out a message to welcome the new user. """ notifications.sendWelcomeMessage(entity) from soc.logic.models.subscriptions import logic as subscriptions_logic subscriptions_logic.createSubscriber(entity) super(Logic, self)._onCreate(entity)