Northampton pushed the title-chasers all the way but were beaten by a 47th minute strike from Davies which leaves the Magpies just two points behind Rochdale.
For the Cobblers it is 9th place in League Two but still only one point outside the play-offs.
Reaction to follow on Cobblers Mad.