Closed dkirkham closed 2 years ago
This change is included in: https://github.com/neon-jungle/wagtail-schema.org/pull/15
Thanks @nickmoreton, any idea when #15 will be merged and the package released to PyPi?
Thanks @nickmoreton, any idea when #15 will be merged and the package released to PyPi?
Sorry no but I'm sure it will be soon 👍
Thanks all.
Wagtail 4.0 will start deprecating
wagtail.contrib.settings.models.BaseSetting
in favour ofwagtail.contrib.settings.models.BaseSiteSetting
orwagtail.contrib.settings.models.BaseGenericSetting
. The to be deprecated class is used by wagtail-schema.org'sBaseLDSetting
at https://github.com/neon-jungle/wagtail-schema.org/blob/master/wagtailschemaorg/models.py#L22Testing with Wagtail 4.0rc2 results in the following message:
Release notes are at https://docs.wagtail.org/en/latest/releases/4.0.html#basesetting-model-replaced-by-basesitesetting
The solution might be to import into wagtailschemaorg/models.py
BaseSiteSetting
, and if that fails, fall back toBaseSetting
.