This commit is contained in:
Yamozha
2021-02-09 17:41:06 +02:00
parent 63168a485c
commit d1280445f4
29 changed files with 99 additions and 2 deletions

9
website/upload/forms.py Normal file
View File

@ -0,0 +1,9 @@
from django import forms
from .models import Image
class ImageForm(forms.ModelForm):
"""Form for the image model"""
class Meta:
model = Image
fields = ('title', 'image')