added support for urls defaults imports for django < 1.4 and >= 1.6