from django import forms from .models import Group [docs]class GroupForm(forms.ModelForm): [docs] class Meta: model = Group fields = ["name", "permissions"]