def getrandom(role): c = Champion.get_random(role) return c
def post(self, request): champion = Champion.get_random('Support') context = {} context['champion'] = champion return render(request, 'champ.html', context)
def post(self, request): champion = Champion.get_random('Support') context = {} context['champion'] = champion return render(request,'champ.html',context)