-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TabbedTranslationAdmin Issue #676
Labels
Comments
Please show your admin code. |
@admin.register(Question)
class QuestionAdmin(TabbedTranslationAdmin):
list_display = ("title", "short_description",)
ordering = ("title",)
inlines = (AnswerInline,)
search_fields = (
"title",
"short_description",
)
fieldsets = (
(
"Basis",
{
"fields": (
"title",
"short_description",
"img",
"note",
)
},
),
) |
I think, it is one row for country and other for language, but don't know how to get rid of the country one! |
Maybe your |
this the AnswerInline class AnswerInline(admin.StackedInline):
model = Answer
extra = 0
fields = (
"title",
"img",
"text",
) |
Try investigating generated html code, does modeltranslation js files included twice? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using TabbedTranslationAdmin in the admin class, and getting this result, any idea why?
with thanks
The text was updated successfully, but these errors were encountered: