from django import forms
from .models import Image , Profile , User
from pyuploadcare.dj.forms import ImageField

class ImageForm(forms.ModelForm):  
    class Meta:
        model = Image
        fields = ("title","image","description","link","posted_by")

class ProfileForm(forms.Form):
    bio = forms.CharField(label = "Bio")
    pic = ImageField(label = "Pic")

37bc213fc470a51d7e37ba2101d66b8cd66d296b
<mask token>


class ProfileForm(forms.Form):
    <mask token>
    <mask token>

<mask token>


class ProfileForm(forms.Form):
    bio = forms.CharField(label='Bio')
    pic = ImageField(label='Pic')

<mask token>


class ImageForm(forms.ModelForm):


    class Meta:
        model = Image
        fields = 'title', 'image', 'description', 'link', 'posted_by'


class ProfileForm(forms.Form):
    bio = forms.CharField(label='Bio')
    pic = ImageField(label='Pic')

from django import forms
from .models import Image, Profile, User
from pyuploadcare.dj.forms import ImageField


class ImageForm(forms.ModelForm):


    class Meta:
        model = Image
        fields = 'title', 'image', 'description', 'link', 'posted_by'


class ProfileForm(forms.Form):
    bio = forms.CharField(label='Bio')
    pic = ImageField(label='Pic')

from django import forms
from .models import Image , Profile , User
from pyuploadcare.dj.forms import ImageField

class ImageForm(forms.ModelForm):  
    class Meta:
        model = Image
        fields = ("title","image","description","link","posted_by")

class ProfileForm(forms.Form):
    bio = forms.CharField(label = "Bio")
    pic = ImageField(label = "Pic")
