from django import forms
from django.forms import modelformset_factory
from .models import Fimg


class ImageModelForm(forms.ModelForm):
    image = forms.ImageField(label='Image')

    class Meta:
        model = Fimg
        fields = ('image', )


ImageFormSet = modelformset_factory(Fimg, form=ImageModelForm, extra=1)

2f8307c8a27e7d0496da0f448052575c2458ce53
<mask token>

<mask token>


class ImageModelForm(forms.ModelForm):
    image = forms.ImageField(label='Image')


    class Meta:
        model = Fimg
        fields = 'image',


<mask token>

<mask token>


class ImageModelForm(forms.ModelForm):
    image = forms.ImageField(label='Image')


    class Meta:
        model = Fimg
        fields = 'image',


ImageFormSet = modelformset_factory(Fimg, form=ImageModelForm, extra=1)

from django import forms
from django.forms import modelformset_factory
from .models import Fimg


class ImageModelForm(forms.ModelForm):
    image = forms.ImageField(label='Image')


    class Meta:
        model = Fimg
        fields = 'image',


ImageFormSet = modelformset_factory(Fimg, form=ImageModelForm, extra=1)

from django import forms
from django.forms import modelformset_factory
from .models import Fimg


class ImageModelForm(forms.ModelForm):
    image = forms.ImageField(label='Image')

    class Meta:
        model = Fimg
        fields = ('image', )


ImageFormSet = modelformset_factory(Fimg, form=ImageModelForm, extra=1)
