from django import forms
from django_hstore_widget.forms import HStoreFormField

from .models import AnimeModel


class AnimeAdminModelForm(forms.ModelForm[AnimeModel]):
    theme_openings = HStoreFormField()
    theme_endings = HStoreFormField()

    class Meta:
        model = AnimeModel
        fields = "__all__"
