def challenger_index(request): # try: challenger_to_db() # except RiotException: # print 'Failed to load all challenger players...' challenger_list = Player.objects.filter(rank_num=34) context = {'challenger_list':challenger_list} return render(request, 'champs/challenger_index.html', context)
def handle(self, *args, **options): try: challenger_to_db() except RiotException: print 'Failed to load all challenger players...'
def handle(self, *args, **options): challenger_to_db() master_to_db()