They can and should have some nitrogen throughout most of the flowering phase, they just need less nitrogen than in the vegetative phase, so most nutrient schedules will gradually decrease it as they begin flowering. Just don't overdo it, as an excess of nitrogen will result in airy buds, but your would know you're overdoing it as the leaves would turn a very dark shade of green.