Skip to content

Conversation

@haricot
Copy link
Contributor

@haricot haricot commented Jan 5, 2020

same layout as related #365
This uses a widgets attributes for nested fields organized with specific helpers.

Be enabled with the environment variable: COMPACT_FORM=True (I tried with app_settings, but it doesn't work in CascadeUtilitiesMixin due to translation)

The widget cascade selector icon is associated with HTML / CSS / SVG and the fieldsets are defined according to the nested widget attribute group.

And this use a pull request #367 which also gives the possibility of filtering the fields for CascadeUtilitiesMixin.

git clone https://github.com/haricot/djangocms-cascade -b widget_attrs_group_nested
cd djangocms-cascade/examples/
python3.6 -m venv .venv
poetry shell
poetry install
npm install
./manage.py migrate
./manage.py createsuperuser

COMPACT_FORM=True ./manage.py runserver

@haricot haricot force-pushed the widget_attrs_group_nested branch 3 times, most recently from d02eb43 to d7f34cd Compare March 5, 2020 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant