Closed fsbraun closed 3 months ago
Attention: Patch coverage is 72.72727%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 86.96%. Comparing base (
f11feee
) to head (0e7fd74
). Report is 5 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
djangocms_frontend/contrib/link/models.py | 0.00% | 1 Missing and 1 partial :warning: |
djangocms_frontend/contrib/link/forms.py | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
As discussed in #194 the
FrontendUIItem
model class does not allow adding model fields, since this would imply subclassingCMSPluginModel
twice which is not possible.To remedy the situation, this PR introduces an abstract base model
AbstractFrontendUIItem
which by default has one concrete modelFrontendUIItem
.If users need to create frontend models with additional model fields, they can do so using
AbstractFrontendUIItem
.