fix some djdb utilities and update requirements to remove circular pug requirement