from django import forms

from backend.models import SourceData


class SourceDataForm(forms.ModelForm):
    class Meta:
        model = SourceData
        fields = ['code', 'name', 'source_data', 'status', 'category_id']
