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
Is there any way to dump and load data with a TranslatableModel because with the common python manage.py dumpdata app.Organization -o fixtures/organizations.json Django command translated fields do not appear in the file.
models.py:
class Organization(TranslatableModel, Entity):
translations = TranslatedFields(
name = models.CharField(verbose_name=_("Name"), max_length=200),
description = RichTextField(verbose_name=_("Description"), blank=True, null=True, config_name='default')
)
status = models.CharField(verbose_name=_("Status"), max_length=50),
Hi everybody
Is there any way to dump and load data with a
TranslatableModel
because with the commonpython manage.py dumpdata app.Organization -o fixtures/organizations.json
Django command translated fields do not appear in the file.models.py:
organizations.json:
Any idea ?
Thanks in advanced.
The text was updated successfully, but these errors were encountered: