def _redirect_to_project_access_upgrade(request): from corehq.apps.domain.views.accounting import SubscriptionUpgradeRequiredView return SubscriptionUpgradeRequiredView().get(request, request.domain, privileges.PROJECT_ACCESS)