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
Unable to save Page that was inherited from Wagtail Page but doesn't registered with modeltranslation
I have an application blog that have two Models:
BlogIndexPage(Page) that registered with modeltranslation.decorators.register at translation.py
BlogPage(Page) - doesn't have versions for different languages. And doesn't registered with decorator. Each blog post will have own language and sometimes will never translated to any other languages. Or will translated by another author.
I got an issue that I'm not able to save BlogPage at wagtail because title is required.
Seems the problem related to patching Page at here:
In my opinion it should be opportunity to inherit from wagtail.models.Page both type of pages that should be translated that doesn't required translations.
The text was updated successfully, but these errors were encountered:
Unable to save Page that was inherited from Wagtail Page but doesn't registered with
modeltranslation
I have an application
blog
that have two Models:BlogIndexPage(Page)
that registered withmodeltranslation.decorators.register
attranslation.py
BlogPage(Page)
- doesn't have versions for different languages. And doesn't registered with decorator. Each blog post will have own language and sometimes will never translated to any other languages. Or will translated by another author.I got an issue that I'm not able to save
BlogPage
at wagtail becausetitle
is required.Seems the problem related to patching Page at here:
wagtail-modeltranslation/wagtail_modeltranslation/translation.py
Lines 8 to 9 in 21fa6f9
In my opinion it should be opportunity to inherit from wagtail.models.Page both type of pages that should be translated that doesn't required translations.
The text was updated successfully, but these errors were encountered: