Ejemplo n.º 1
0
  def _onCreate(self, entity):
    """Send out a message to welcome the new user.
    """

    notifications.sendWelcomeMessage(entity)

    super(Logic, self)._onCreate(entity)
Ejemplo n.º 2
0
 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)