from django import forms

from wagtail.wagtailimages.widgets import AdminImageChooser

from .models import Author


class AuthorAdminForm(forms.ModelForm):
    class Meta:
        model = Author
        # TODO: Ability to add author image
        exclude = ['image', 'slug']

from django import forms

from wagtail.wagtailimages.widgets import AdminImageChooser

from .models import Author


class AuthorAdminForm(forms.ModelForm):
    class Meta:
        model = Author
        # TODO: Ability to add author image
        exclude = ['image', 'slug', 'bio']

Exclude the proxy bio field.
Exclude the proxy bio field.
