old_contents: from celery.task import task
  from celery.task.sets import TaskSet
  from vumiclient.client import Client
  from django.conf import settings
  from django.core.mail import send_mail,  EmailMessage
  
  @task(ignore_result=True)
  def send_password_reset(msisdn, new_password):
      message = 'Ummeli on YAL :) Your new password is: %s' % new_password
      client = Client(settings.VUMI_USERNAME, settings.VUMI_PASSWORD)
      resp = client.send_sms(to_msisdn = msisdn,
          from_msisdn = '1',
          message = message)
  
  @task(ignore_result=True)
  def send_email(username, message):
      email = EmailMessage('Blocked User: %s' % username, message,
                                              settings.SEND_FROM_EMAIL_ADDRESS,
                                              [settings.UMMELI_SUPPORT])
      email.send(fail_silently=False)
      
  
  def send_sms(msisdn, message):
      client = Client(settings.VUMI_USERNAME, settings.VUMI_PASSWORD)
      client.send_sms(to_msisdn = msisdn, from_msisdn = '1', message = message)
new_contents: from celery.task import task
  from celery.task.sets import TaskSet
  from vumiclient.client import Client
  from django.conf import settings
  from django.core.mail import send_mail,  EmailMessage
  from jmboarticles.models import Article
  
  
  @task(ignore_result=True)
  def send_password_reset(msisdn, new_password):
      message = 'Ummeli on YAL :) Your new password is: %s' % new_password
      client = Client(settings.VUMI_USERNAME, settings.VUMI_PASSWORD)
      resp = client.send_sms(to_msisdn = msisdn,
          from_msisdn = '1',
          message = message)
  
  
  @task(ignore_result=True)
  def send_email(username, message):
      email = EmailMessage('Blocked User: %s' % username, message,
                                              settings.SEND_FROM_EMAIL_ADDRESS,
                                              [settings.UMMELI_SUPPORT])
      email.send(fail_silently=False)
  
  
  def send_sms(msisdn, message):
      client = Client(settings.VUMI_USERNAME, settings.VUMI_PASSWORD)
      client.send_sms(to_msisdn = msisdn, from_msisdn = '1', message = message)
  
  
  def disable_commenting():
      Article.objects.filter(comments_enabled=True).update(temp_can_comment=True)
      Article.objects.filter(temp_can_comment=True).update(comments_enabled=False)
  
  
  def enable_commenting():
      Article.objects.filter(temp_can_comment=True).update(comments_enabled=True)
  
subject: add comment disabling tasks