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