def location_restricted_exception(request): from corehq.apps.hqwebapp.views import no_permissions_exception notify_exception(request, NOTIFY_EXCEPTION_MSG) return no_permissions_exception(request, message=LOCATION_ACCESS_DENIED)
def location_restricted_exception(request): from corehq.apps.hqwebapp.views import no_permissions_exception notify_exception(request, NOTIFY_EXCEPTION_MSG) return no_permissions_exception(request, message=LOCATION_ACCESS_DENIED)