from django import forms
from .models import Image
from urllib import request
from django.core.files.base import ContentFile
from django.utils.text import slugify


class ImageCreateForm(forms.ModelForm):


    class Meta:
        model = Image
        fields = {'title', 'description', 'image'}

e451f9dae83c457e9a40480469c7aa785d398379
<mask token>

<mask token>


class ImageCreateForm(forms.ModelForm):


    class Meta:
        model = Image
        fields = {'title', 'description', 'image'}

from django import forms
from .models import Image
from urllib import request
from django.core.files.base import ContentFile
from django.utils.text import slugify


class ImageCreateForm(forms.ModelForm):


    class Meta:
        model = Image
        fields = {'title', 'description', 'image'}
