summaryrefslogtreecommitdiff
path: root/bak/unused_apps/jrnl/fields.py
diff options
context:
space:
mode:
Diffstat (limited to 'bak/unused_apps/jrnl/fields.py')
-rw-r--r--bak/unused_apps/jrnl/fields.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bak/unused_apps/jrnl/fields.py b/bak/unused_apps/jrnl/fields.py
new file mode 100644
index 0000000..8df2f5e
--- /dev/null
+++ b/bak/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)