remove unneeded imports and fix deprecated django.conf.urls.defaults import