def round(request): """ Play next round """ if GrandChallengeGame.last is None user_list = Player.objects.all().order_by('-points')[:16] GrandChallengeGame.next_round(user_list) gchalls = GrandChallenge.objects.all() return render_to_response('cpanel/grandchallenges.html', {'gchalls': gchalls}, context_instance=RequestContext(request))