Fix deprecation warnings.

* DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead