old_contents: from datetime import timedelta
  
  import local_settings
  
  
  """ 
  set up the backend defaults for the results and broker
  
  based heavily on: https://gist.github.com/vivekn/1062526
  
  TODO:   move this stuff into local_settings
  
  """
  
  BROKER_URL = '%s://%s:%d/%d' % (
      local_settings.BROKER_BACKEND,
      local_settings.BROKER_HOST,
      local_settings.BROKER_PORT,
      local_settings.BROKER_DB
  )
  
  CELERY_IMPORTS = ("offline.tasks", ) # Module which contains the tasks you want to call asynchronously
  
  
  """
  set up the scheduler
  
  """
  
  
  CELERYBEAT_SCHEDULE = {
      'scrape-site': {
          'task': 'offline.tasks.scrape',
          'schedule': timedelta(seconds=10),
          'args': ()
      },
  }
  
  CELERY_TIMEZONE = 'UTC'
  
new_contents: # import the usual stuff
  from datetime import timedelta
  
  # import our local stuffs
  import local_settings
  
  
  """ 
  set up the backend defaults for the results and broker
  
  based heavily on: https://gist.github.com/vivekn/1062526
  
  TODO:   move this stuff into local_settings
  
  """
  
  BROKER_URL = '%s://%s:%d/%d' % (
      local_settings.BROKER_BACKEND,
      local_settings.BROKER_HOST,
      local_settings.BROKER_PORT,
      local_settings.BROKER_DB
  )
  
  CELERY_IMPORTS = ("offline.tasks", ) # Module which contains the tasks you want to call asynchronously
  
  
  """
  set up the scheduler
  
  """
  
  
  CELERYBEAT_SCHEDULE = {
      'scrape-site': {
          'task': 'offline.tasks.scrape',
          'schedule': timedelta(seconds=10),
          'args': ()
      },
  }
  
  CELERY_TIMEZONE = 'UTC'
  
subject: comment funtimes