fixes bug 1031076 - Fix deprecation warnings on django.conf.urls.defaults (v 2)

@AdrianGaudebert r?