def handle(self, *args, **options): TinCanSender.send_2_tincan_by_settings() self.stdout.write('Data sent\n')
def send_2_tin_can(): # options = settings.TRACKING_BACKENDS['xapi']['OPTIONS'] TinCanSender.send_2_tincan_by_settings()