Skip to content

Commit

Permalink
Merge branch '6.0' into acsr-patch-1--zope-manager-users-addzopeuser-…
Browse files Browse the repository at this point in the history
…script-for-docker-setups
  • Loading branch information
stevepiercy authored Feb 26, 2025
2 parents 8083d14 + f0ba056 commit eae297e
Show file tree
Hide file tree
Showing 17 changed files with 699 additions and 650 deletions.
14 changes: 13 additions & 1 deletion docs/admin-guide/run-plone.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Buildout:

pip:
: ```shell
bin/zconsole debug instance/etc/zope.ini
bin/zconsole debug instance/etc/zope.conf
```

`cookiecutter-plone-starter`:
Expand All @@ -101,3 +101,15 @@ pip:
```

For any of these commands, press {kbd}`ctrl-d` to stop the process.

### Set a "fake" request

To make sure that the request is fully set up for any code that uses `zope.globalrequest.getRequest`, you might need to use the following code.

```python
from Testing.makerequest import makerequest
from zope.globalrequest import setRequest

app = makerequest(app)
setRequest(app.REQUEST)
```
1 change: 0 additions & 1 deletion docs/backend/schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ This schema can be used in {doc}`/classic-ui/forms` and Dexterity {doc}`/backend

```{note}
In Dexterity {doc}`/backend/content-types/index`, the base class for a schema is `plone.supermodel.model.Schema`.
This provides functionalities to export and import schemas via XML and the {doc}` Through-the-web (TTW) </classic-ui/theming/through-the-web>` editor.
```


Expand Down
347 changes: 0 additions & 347 deletions docs/classic-ui/theming/barceloneta.md

This file was deleted.

Loading

0 comments on commit eae297e

Please sign in to comment.