parameters: ()
return_statement: return subprocess.call(['python', filename, 'update_index'])
docstring: Update haystack indexes.
docstring_summary: Update haystack indexes.
docstring_tokens: Update haystack indexes .
function: def update_indexes():
      """ Update haystack indexes. """
      logger.info(u"[{}]: Started update indexes".format(timezone.now()))
      filename = os.path.join(settings.BASE_DIR, 'manage.py')
      logger.info(u"[{}]: Finished update indexes".format(timezone.now()))
      return subprocess.call(['python', filename, 'update_index'])
function_tokens: def update_indexes ( ) : logger . info ( u"[{}]: Started update indexes" . format ( timezone . now ( ) ) ) filename = os . path . join ( settings . BASE_DIR , 'manage.py' ) logger . info ( u"[{}]: Finished update indexes" . format ( timezone . now ( ) ) ) return subprocess . call ( [ 'python' , filename , 'update_index' ] )