restrict django to <1.7