reverend
c5dfb4f926
commit4c5a5fee8d
Author: reverend <reverend@reverend2048.de> Date: Sun Dec 18 09:24:15 2022 +0100 commit17647bf4b7
Author: reverend <reverend@reverend2048.de> Date: Sun Dec 18 09:23:36 2022 +0100 commit4deeb3d773
Author: reverend <reverend@reverend2048.de> Date: Sun Dec 18 09:23:06 2022 +0100 commit5342e62bcb
Author: reverend <reverend@reverend2048.de> Date: Sun Dec 18 09:22:44 2022 +0100 commit02512c1677
Author: reverend <reverend@reverend2048.de> Date: Sun Dec 18 09:21:57 2022 +0100
10 lines
239 B
Python
10 lines
239 B
Python
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']
|