-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Hello,
I want to change the widget for an item in admin section with this code 👍
class ArticleAdminForm(forms.ModelForm):
class Meta:
model = Article
widgets = {
'image_test': forms.RadioSelect,
}
fields = '__all__'
class ArticleAdmin(ModerationAdmin):
form = ArticleAdminForm
[...]It's works with admin.ModelAdmin but not with ModerationAdmin.
How I can change the widget ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels