Fixed import error for django 1.6

urls.defaults was deprecated in django 1.4 and removed in 1.6. This is a backwards compatible change.