Ejemplo n.º 1
0
 def handle(self, **options):
     obj = ParseChannel()
     e = True
     while e:
         while obj.insert_details():
             pass
         while obj.fetch_channels():
             pass
         e = obj.filldb_loop()
Ejemplo n.º 2
0
 def handle(self, **options):
     obj = ParseChannel()
     e = True
     while e:
         while obj.insert_details():
             pass
         while obj.fetch_channels():
             pass
         e = obj.filldb_loop()
Ejemplo n.º 3
0
 def handle(self, **options):
     details = ChannelDetails.objects.all()
     details.delete()
     obj = ParseChannel()
     obj.initialize_db()
     # e = True
     # while e:
     #     obj.insert_details()
     #     obj.fetch_channels()
     #     e = obj.infinite_loop()