django.conf.urls.defaults is deprecated

django.conf.urls.defaults is deprecated. For backward compatibility, this safely try importing django.conf.urls first, fallback to django.conf.urls.defaults later.