Do not use defaults module from django.conf.urls

django.conf.urls.defaults is deprecated.

patterns, url, and include should be imported via django.conf.urls

django.conf.urls.defaults will still be used if the installed django version is less than 1.4