Fix deprecation warnings.

* DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead
Merge pull request #929 from glogiotatidis/dep

Fix deprecation warnings.