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