<gh_stars>0
from django.forms import ModelForm, widgets

from user.models import Profile


class ProfileForm(ModelForm):
    class Meta:
        model = Profile
        exclude = ['id','user']
        widgets = {
            'profile_image': widgets.TextInput(attrs={'class': 'form-control'})
        }