コード例 #1
0
ファイル: send_data_2_tincan.py プロジェクト: marcore/pok-eco
 def handle(self, *args, **options):
     TinCanSender.send_2_tincan_by_settings()
     self.stdout.write('Data sent\n')
コード例 #2
0
ファイル: tasks.py プロジェクト: marcore/pok-eco
def send_2_tin_can():
    # options = settings.TRACKING_BACKENDS['xapi']['OPTIONS']
    TinCanSender.send_2_tincan_by_settings()