summaryrefslogtreecommitdiff
path: root/app/blog/fields.py
blob: bab8ad3949a09d377efd4cd8942c69689e56c19d (plain)
1
2
3
4
5
6
7
from django import forms
from blog.widgets import AdminImageWidget


class FileUploadForm(forms.ModelForm):
    upload = forms.FileField(widget=AdminImageWidget)