Remove all use of django.conf.urls.defaults since we don't support Django 1.3 anymore. Closes #539.