django.conf.urls.defaults has been deprecated. patterns and url are now imported from django.conf.urls.