from dataclasses import fields
from pyexpat import model
from django.forms import ModelForm

from product.models import Product

class ProductForm(ModelForm):
    class Meta:
        model = Product
        fields = ['category', 'image', 'title', 'description', 'price']
        
        