django.confg.urls.defaults is deprecated in Django 1.4, removed in Django 1.6

Since django.confg.urls.defaults is deprecated in Django 1.4, removed in Django 1.6 a conditional import is need to be compatible with Django 1.6