Replace django.conf.urls.defaults by django.conf.urls
See <https://docs.djangoproject.com/en/1.5/ref/urls/>
made url imports compatible with django 1.3 and later