```python
portal = getToolByName(self.context, 'portal_url').getPortalObject()
```