예제 #1
0
def getrandom(role):
	c = Champion.get_random(role)
	return c
예제 #2
0
 def post(self, request):
     champion = Champion.get_random('Support')
     context = {}
     context['champion'] = champion
     return render(request, 'champ.html', context)
예제 #3
0
def getrandom(role):
    c = Champion.get_random(role)
    return c
예제 #4
0
	def post(self, request):
		champion = Champion.get_random('Support')
		context = {}
		context['champion'] = champion
		return render(request,'champ.html',context)