<reponame>mikeku1116/django-imagewall<gh_stars>1-10
from django import forms
from .models import Photo


class UploadModelForm(forms.ModelForm):

    class Meta:
        model = Photo
        fields = ('image',)
        widgets = {
            'image': forms.FileInput(attrs={'class': 'form-control-file'})
        }
