Update urls.py to be django 1.5+ compatible.

django.conf.urls.defaults was deprecated in 1.5 and removed in 1.6.