Fix deprecated defaults module usage

Stuff in django.conf.urls.defaults was moved in Django 1.4 and
deprecated in Django 1.5.