Fixed URL import error for latest versions of Django