Esempio n. 1
0
def createBoard(request):
	board=Board()
	board.save()
	myargs=processBoard(request,False,board)
	return render(request,'tic/tic.js',myargs)	
Esempio n. 2
0
def dict_to_board(mtd,board):
	board=Board(**mtd) 
	board.save()
	return board