from django import forms
from .models import Departments, Students, Teachers


class StudentModelForm(forms.ModelForm):


    class Meta:
        model = Students
        fields = '__all__'


class TeacherModelForm(forms.ModelForm):


    class Meta:
        model = Teachers
        fields = '__all__'


class DepartmentModelForm(forms.ModelForm):


    class Meta:
        model = Departments
        fields = '__all__'

a2bdabfbad0577435f1f5734a750c5b07b204003
<mask token>


class DepartmentModelForm(forms.ModelForm):


    class Meta:
        model = Departments
        fields = '__all__'

<mask token>


class TeacherModelForm(forms.ModelForm):


    class Meta:
        model = Teachers
        fields = '__all__'


class DepartmentModelForm(forms.ModelForm):


    class Meta:
        model = Departments
        fields = '__all__'

<mask token>


class StudentModelForm(forms.ModelForm):


    class Meta:
        model = Students
        fields = '__all__'


class TeacherModelForm(forms.ModelForm):


    class Meta:
        model = Teachers
        fields = '__all__'


class DepartmentModelForm(forms.ModelForm):


    class Meta:
        model = Departments
        fields = '__all__'

from django import forms
from .models import Departments, Students, Teachers


class StudentModelForm(forms.ModelForm):


    class Meta:
        model = Students
        fields = '__all__'


class TeacherModelForm(forms.ModelForm):


    class Meta:
        model = Teachers
        fields = '__all__'


class DepartmentModelForm(forms.ModelForm):


    class Meta:
        model = Departments
        fields = '__all__'
