<filename>PhoneSearch/base/forms.py<gh_stars>0
from django.forms import ModelForm
from .models import phoneName


class PhoneImage(ModelForm):
    class Meta:
        model = phoneName
        fields = ['avatar']
<filename>PhoneSearch/base/forms.py<gh_stars>0
from django.forms import ModelForm
from .models import phoneName


class PhoneImage(ModelForm):
    class Meta:
        model = phoneName
        fields = ['avatar']