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