Import from django.conf.urls instead of deprecated django.conf.urls.defaults

This maintains django>=1.4 compatibility. Unfortunately the tests seem not to be up to date, so was not able to run them.