-
Notifications
You must be signed in to change notification settings - Fork 32
feat: Support valid models in custom components #323
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
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideIntroduces a new “valid_models” option in the base component form to allow custom components to declare which Django model types they support. Class diagram for updated CMSFrontendComponent with valid_models optionclassDiagram
class CMSFrontendComponent {
link_fieldset_position
require_parent
parent_classes
valid_models
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #323 +/- ##
=======================================
Coverage 89.00% 89.00%
=======================================
Files 124 124
Lines 3383 3383
Branches 287 287
=======================================
Hits 3011 3011
Misses 256 256
Partials 116 116 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary by Sourcery
New Features: