Excuse me, I forgot to specify something important. The problem I have only if I add inlines to UserProfileAdmin. In UserProfileAdmin the languages switches are not automatically rendered in the fields of the inline fieldsets, unlike any other model, for example BlogPostAdmin, where the languages switches have been automatically rendered in the fields of the inline fieldsets. This is why I tried to inherit BaseTranslationModelAdmin, but it did not work.
Il giorno giovedì 9 novembre 2017 12:19:31 UTC+1, Rainell Dilou Gómez ha scritto: > > Hello everyone. > In a multilanguage project, I need that a model that inherit > StackedDynamicInlineAdmin (mezzanine) or StackedInline (django.contrib) > also inherit BaseTranslationModelAdmin in order to have the language > switcher in the admin form inline fieldset. > How can I do it? > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
