update django requirement and fix tests url defaults import