diff --git a/backend-volto/scripts/create_site.py b/backend-volto/scripts/create_site.py index d7ef53b..2c05f7f 100644 --- a/backend-volto/scripts/create_site.py +++ b/backend-volto/scripts/create_site.py @@ -45,7 +45,6 @@ def asbool(s): "title": "Plone 6 Demo Site", "profile_id": _DEFAULT_PROFILE, "distribution_name": "default", - "extension_ids": ["plone6.demo:default", "plone6.demo:initial", "plone.volto:demo"], "setup_content": False, "default_language": "en", "portal_timezone": "UTC", @@ -61,7 +60,7 @@ def asbool(s): transaction.commit() portal_setup: SetupTool = site.portal_setup - portal_setup.runAllImportStepsFromProfile("profile-plone6.demo:default") + portal_setup.runAllImportStepsFromProfile("profile-plone6.demo:initial") transaction.commit() app._p_jar.sync() diff --git a/backend-volto/src/plone6/demo/profiles/initial/metadata.xml b/backend-volto/src/plone6/demo/profiles/initial/metadata.xml index f768b5a..964c1a4 100644 --- a/backend-volto/src/plone6/demo/profiles/initial/metadata.xml +++ b/backend-volto/src/plone6/demo/profiles/initial/metadata.xml @@ -1,4 +1,8 @@ 1000 + + profile-plone6.demo:default + profile-plone.volto:demo + diff --git a/backend/scripts/create_site.py b/backend/scripts/create_site.py index ab32375..fd57d67 100644 --- a/backend/scripts/create_site.py +++ b/backend/scripts/create_site.py @@ -59,8 +59,4 @@ def asbool(s): site = addPloneSite(app, site_id, **payload) transaction.commit() - portal_setup: SetupTool = site.portal_setup - portal_setup.runAllImportStepsFromProfile("profile-plone6.demo:default") - transaction.commit() - app._p_jar.sync()