@render_to('race/servers.html')
def servers(request):
	servers_online = Server.objects.filter(
		last_connection_at__gte=(datetime.now()-timedelta(minutes=10))
	)
	players_online_count = UserProfile.objects.filter(
		last_connection_at__gte=(datetime.now()-timedelta(minutes=10))
	).filter(last_played_server__isnull=False).count()
	# TODO graph?
	return {
		'servers_online': servers_online,
		'players_online_count': players_online_count,
	}
dataset/ETHPy150Open chaosk/teerace/teerace/race/views.py/servers/original