fixed django.conf.urls.defaults deprecation warning and Django 1.6 compatibility