Skip to content

Commit faf26ad

Browse files
committed
fix rst
1 parent 314b367 commit faf26ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mastering_plone/views_3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ We pass a object as `context` to query only for content in the current path. Oth
100100

101101
We use the method :py:meth:`find` in :py:mod:`plone.api` to query the catalog. It is one of many convenience-methods provided as a wrapper around otherwise more complex api's. If you query the catalog direcly you'd have to first get the catalog, and pass it the path for which you want to find items:
102102

103-
.. code-block:: python:
103+
.. code-block:: python
104104
105105
portal_catalog = api.portal.get_tool('portal_catalog')
106106
current_path = '/'.join(self.context.getPhysicalPath())

0 commit comments

Comments
 (0)