-
-
Notifications
You must be signed in to change notification settings - Fork 75
/
instance.yaml
33 lines (33 loc) · 1.42 KB
/
instance.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
# This is a cookiecutter configuration context file for
#
# cookiecutter-zope-instance
#
# available options are documented at
# https://github.com/bluedynamics/cookiecutter-zope-instance/
#
# read also README_MAKE.md in this folder
#
default_context:
initial_user_password: admin
debug_mode: on
# When we have installed a PyPI release of Products.CMFPlone, it ends up in
# .venv/lib/python3.12/site-packages/Products which means that all its zcml
# gets read automatically and its initialize function gets called. This is
# handled by OFS.Application. All is well.
#
# When we use a src checkout of Products.CMFPlone, this is not true.
# So we must explicitly load all its zcml.
# And separately we must add five:registerPackage to its configure.zcml,
# otherwise its initialize function is not called.
# Sample errors you can get when this is not done right:
#
# * ConfigurationError: ('Unknown directive', 'http://namespaces.zope.org/zope', 'autoIncludePluginsOverrides')
# * ConfigurationError: ('Unknown directive', 'http://namespaces.plone.org/plone', 'portlet')
# * KeyError: 'Unicode Whitespace splitter' (when creating a Plone Site)
#
# Note that once its zcml is loaded, CMFPlone uses plone/z3c.autoinclude,
# so for packages that use this, no explicit handling is needed here.
zcml_package_metas: ['Products.CMFPlone']
zcml_package_includes: ['Products.CMFPlone']
zcml_package_overrides: ['Products.CMFPlone']