<gh_stars>0
from django import forms

from .models import Client


class ClientCreateForm(forms.ModelForm):
    class Meta:
        model = Client
        fields = "__all__"
        exclude = ["slug"]


class ClientUpdateForm(forms.ModelForm):
    class Meta:
        model = Client
        fields = "__all__"
        exclude = ["slug"]
        

from django import forms

from .models import Client


class ClientCreateForm(forms.ModelForm):
    class Meta:
        model = Client
        fields = "__all__"
        exclude = ["slug"]


class ClientUpdateForm(forms.ModelForm):
    class Meta:
        model = Client
        fields = "__all__"
        exclude = ["slug"]