Fix for django 1.6

urls.defaults depricated and no longer works with Django 1.6