You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When registering a custom model for versioning and previewing or editing a version of that custom model, the djangocms_versioning.cms_toolbar raises an AttributeError missing the in_navigation attribute of the custom model.
djangocms-versioning provides its own page toolbar which unlike the original page toolbar of django CMS does also assume that the viewed/edited model is of type PageContent which it is not for custom models. This happens if the custom model is apphooked.
Issue
When registering a custom model for versioning and previewing or editing a version of that custom model, the
djangocms_versioning.cms_toolbar
raises anAttributeError
missing thein_navigation
attribute of the custom model.djangocms-versioning provides its own page toolbar which unlike the original page toolbar of django CMS does also assume that the viewed/edited model is of type
PageContent
which it is not for custom models. This happens if the custom model is apphooked.Reference
The text was updated successfully, but these errors were encountered: