The 21-year-old has impressed Cobblers boss Aidy Boothroyd during pre-season and has now been rewarded with a contract.
"Danny has had a very successful trial and I've been very impressed with him," Boothroyd told the club's official website.
"Sometimes when you get a player of Danny's age who is relatively untried it can be a bit of a gamble but I've got a lot of faith in him.
"I think he's got a lot of ability and he just needs a place where he can show what he is all about."
- Sports & Recreation
- Aidy Boothroyd