Fix urls deprecation warnings

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