old_contents: import django
  django.setup()
  
  # Standard Library
  import logging
  import time
  
  # Third-Party
  from django_rq import job
  
  # Django
  from apps.bhs.models import Convention, Award, Chart, Group, Person
  from apps.registration.models import Contest, Session, Assignment, Entry
  
  log = logging.getLogger(__name__)
  
  @job('high')
  def update_or_create_convention_from_salesforce(convention):
      return Convention.objects.update_or_create_convention(convention)
  
  @job('high')
  def update_or_create_award_from_salesforce(award):
      return Award.objects.update_or_create_award(award)
  
  @job('high')
  def update_or_create_chart_from_salesforce(chart):
      return Chart.objects.update_or_create_chart(chart)
  
  @job('high')
  def update_or_create_group_from_salesforce(group):
      return Group.objects.update_or_create_group(group)
  
  @job('high')
  def update_or_create_person_from_salesforce(person):
      return Person.objects.update_or_create_person(person)
  
  @job('high')
  def update_or_create_session_from_salesforce(session):
      return Session.objects.update_or_create_session(session)
  
  @job('high')
  def update_or_create_contest_from_salesforce(contest):
      time.sleep(10)
      return Contest.objects.update_or_create_contest(contest)
  
  @job('high')
  def update_or_create_assignment_from_salesforce(assignment):
      return Assignment.objects.update_or_create_assignment(assignment)
  
  @job('high')
  def update_or_create_entry_from_salesforce(entry):
      return Entry.objects.update_or_create_entry(entry)
  
  @job('high')
  def update_contest_entry_from_salesforce(entry):
      time.sleep(10)
      return Entry.objects.update_contestentry_status(entry)
  
  @job('high')
  def update_group_chart_from_salesforce(chart):
  	return Group.objects.update_group_chart(chart)
  
  @job('high')
  def delete_convention(uuid):
      return Convention.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_award(uuid):
      return Award.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_chart(uuid):
      return Chart.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_group(uuid):
      return Group.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_person(uuid):
      return Person.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_session(uuid):
      return Session.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_contest(uuid):
      return Contest.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_assignment(uuid):
      return Assignment.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_entry(uuid):
      return Entry.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_repertory(chart):
      return Group.objects.update_group_chart(chart)
  
  @job('high')
  def delete_entry_contest(entry):
      return Entry.objects.update_contestentry_status(entry)
  
new_contents: import django
  django.setup()
  
  # Standard Library
  import logging
  import time
  
  # Third-Party
  from django_rq import job
  
  # Django
  from apps.bhs.models import Convention, Award, Chart, Group, Person
  from apps.registration.models import Contest, Session, Assignment, Entry
  
  log = logging.getLogger(__name__)
  
  @job('high')
  def update_or_create_convention_from_salesforce(convention):
      return Convention.objects.update_or_create_convention(convention)
  
  @job('high')
  def update_or_create_award_from_salesforce(award):
      return Award.objects.update_or_create_award(award)
  
  @job('high')
  def update_or_create_chart_from_salesforce(chart):
      return Chart.objects.update_or_create_chart(chart)
  
  @job('high')
  def update_or_create_group_from_salesforce(group):
      return Group.objects.update_or_create_group(group)
  
  @job('high')
  def update_or_create_person_from_salesforce(person):
      return Person.objects.update_or_create_person(person)
  
  @job('high')
  def update_or_create_session_from_salesforce(session):
      return Session.objects.update_or_create_session(session)
  
  @job('high')
  def update_or_create_contest_from_salesforce(contest):
      time.sleep(20)
      return Contest.objects.update_or_create_contest(contest)
  
  @job('high')
  def update_or_create_assignment_from_salesforce(assignment):
      return Assignment.objects.update_or_create_assignment(assignment)
  
  @job('high')
  def update_or_create_entry_from_salesforce(entry):
      return Entry.objects.update_or_create_entry(entry)
  
  @job('high')
  def update_contest_entry_from_salesforce(entry):
      time.sleep(30)
      return Entry.objects.update_contestentry_status(entry)
  
  @job('high')
  def update_group_chart_from_salesforce(chart):
  	return Group.objects.update_group_chart(chart)
  
  @job('high')
  def delete_convention(uuid):
      return Convention.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_award(uuid):
      return Award.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_chart(uuid):
      return Chart.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_group(uuid):
      return Group.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_person(uuid):
      return Person.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_session(uuid):
      return Session.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_contest(uuid):
      return Contest.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_assignment(uuid):
      return Assignment.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_entry(uuid):
      return Entry.objects.filter(id=uuid).delete()
  
  @job('high')
  def delete_repertory(chart):
      return Group.objects.update_group_chart(chart)
  
  @job('high')
  def delete_entry_contest(entry):
      return Entry.objects.update_contestentry_status(entry)
  
subject: Increase delays for Contests and Contest Entries.