Fixed error due to deprecated Django setting

The functions in django.conf.urls.defaults were moved to django.conf.urls with a deprecation warning (https://docs.djangoproject.com/en/1.4/releases/1.4/#django-conf-urls-defaults). In the django development version, the module is removed completely.