diff options
Diffstat (limited to 'app/blog/fields.py')
-rw-r--r-- | app/blog/fields.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/blog/fields.py b/app/blog/fields.py new file mode 100644 index 0000000..bab8ad3 --- /dev/null +++ b/app/blog/fields.py @@ -0,0 +1,7 @@ +from django import forms +from blog.widgets import AdminImageWidget + + +class FileUploadForm(forms.ModelForm): + upload = forms.FileField(widget=AdminImageWidget) + |