Skip to content

Instantly share code, notes, and snippets.

View sauzher's full-sized avatar

Alessandro Ceglie sauzher

View GitHub Profile
@silviot
silviot / Removing_grok.rst
Last active January 30, 2023 22:58
Removing grok

Removing grok

Grok is no longer supported in Plone 5.2 (the first Plone to run on Python 3). Every grok statement can be easily expressed with ZCML. This guide shows how to change code to register ZCA components using ZCML instead of grok.

Form from plone.directives.form

Create virtual Python 3 environment:
```
python3 -m venv .
```
Create a requirements.txt file:
```
# Keep this file in sync with: https://github.com/kitconcept/buildout/edit/master/requirements.txt
@davisagli
davisagli / ram.ipynb
Last active August 8, 2023 16:10
Experiments with Plone object RAM use (ipython notebook viewer: http://nbviewer.ipython.org/7407505)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.