Fixed URL import for latest versions of django