from django import forms
from .models import Picture


class AddPictureForm(forms.ModelForm):

    class Meta:
        model = Picture
        fields = ('title','pic','description','category','tags')


30abb36dbc6192dabc91299fbbe07989170f7bd8
<mask token>

<mask token>


class AddPictureForm(forms.ModelForm):


    class Meta:
        model = Picture
        fields = 'title', 'pic', 'description', 'category', 'tags'

from django import forms
from .models import Picture


class AddPictureForm(forms.ModelForm):


    class Meta:
        model = Picture
        fields = 'title', 'pic', 'description', 'category', 'tags'

from django import forms
from .models import Picture


class AddPictureForm(forms.ModelForm):

    class Meta:
        model = Picture
        fields = ('title','pic','description','category','tags')

