#3 Upload form for Images

This commit is contained in:
reverend 2022-12-18 09:23:06 +01:00
parent 5342e62bcb
commit 4deeb3d773

View File

@ -0,0 +1,9 @@
from django import forms
from django.utils.translation import gettext as _
from .models import Image
class ImageUploadForm(forms.ModelForm):
class Meta:
model = Image
fields = ['description', 'image_file', 'private']