from django import forms

from backend.models import Admin, Document


class DocumentForm(forms.ModelForm):
    class Meta:
        model = Document
        fields = ['title', 'category_id', 'data', 'status', 'is_template','user_id']
