trying to figure out how to serve user-uploaded files

This commit is contained in:
Yamozha
2021-02-09 18:19:42 +02:00
parent d1280445f4
commit dfda536aab
39 changed files with 93 additions and 22 deletions

View File

@ -6,4 +6,4 @@ class ImageForm(forms.ModelForm):
"""Form for the image model"""
class Meta:
model = Image
fields = ('title', 'image')
fields = ('image',)