We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now is possible to define one inline crud: as docs explains:
# yourapp/crud.py from crudbuilder.formset import BaseInlineFormset class PersonEmploymentInlineFormset(BaseInlineFormset): inline_model = PersonEmployment parent_model = Person exclude = ['created_by', 'updated_by'] #formset_class = YourBaseInlineFormset #child_form = ChildModelForm class PersonCrud(BaseCrudBuilder): model = Person search_fields = ['name'] tables2_fields = ('name', 'email') inlineformset = PersonEmploymentInlineFormset
What I want:
# yourapp/crud.py from crudbuilder.formset import BaseInlineFormset class PersonFooInlineFormset(BaseInlineFormset): inline_model = PersonFoo parent_model = Person exclude = ['created_by', 'updated_by'] class PersonEmploymentInlineFormset(BaseInlineFormset): inline_model = PersonEmployment parent_model = Person exclude = ['created_by', 'updated_by'] class PersonCrud(BaseCrudBuilder): model = Person search_fields = ['name'] tables2_fields = ('name', 'email') inlineformset = [ PersonEmploymentInlineFormset, PersonFooInlineFormset ]
inlineformset's items order should be respected when rendered
Thanks for you great app!
The text was updated successfully, but these errors were encountered:
This is a great feature, Asifpy may you think about it?
Sorry, something went wrong.
No branches or pull requests
Right now is possible to define one inline crud:
as docs explains:
What I want:
inlineformset's items order should be respected when rendered
Thanks for you great app!
The text was updated successfully, but these errors were encountered: