Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore 'emencia_initial' feature #14

Closed
Tracked by #9
sveetch opened this issue Nov 15, 2022 · 3 comments
Closed
Tracked by #9

Restore 'emencia_initial' feature #14

sveetch opened this issue Nov 15, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@sveetch
Copy link
Owner

sveetch commented Nov 15, 2022

No description provided.

@sveetch sveetch changed the title emencia_initial since we always needs the starting data; Restore 'emencia_initial' feature Nov 15, 2022
@sveetch
Copy link
Owner Author

sveetch commented Nov 15, 2022

I'm trying a new way without migrations since they caused too much problems.

Instead we are going to a "demo maker" which can load objects from a data structure that could work both with command and tests.

@sveetch sveetch added the enhancement New feature or request label Nov 15, 2022
@sveetch
Copy link
Owner Author

sveetch commented Nov 17, 2022

It's on the way to be finished in branch "initial_migrations" but this won't be flexible as the project composition.

Tests and demo maker are currently not fail safe when CMS is not enabled. Think to fill an issue about flexbiility without CMS.

@sveetch
Copy link
Owner Author

sveetch commented Nov 18, 2022

Currently working with test and django command within current working branch initial_migrations.

However the DemoMaker take only on page at level 0 (from given page tree structure) which it assumes as the root page and so this avoid to have other pages at level 0 even if it is totaly valid and common use case.

We should introduce a "is_homepage" in page structure format, stop take the first level 0 as homepage, and process all other page level 0.

@sveetch sveetch closed this as completed Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant