more accurate django block control detection