diff options
author | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2009-01-05 04:07:10 +0000 |
---|---|---|
committer | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2009-01-05 04:07:10 +0000 |
commit | 637d71d2c3a7c1c65a931e1eb094052a095cdf05 (patch) | |
tree | ca34a2fead939b133143ec7647a9437d52c89075 /apps/blog/fields.py |
have at it
Diffstat (limited to 'apps/blog/fields.py')
-rw-r--r-- | apps/blog/fields.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/blog/fields.py b/apps/blog/fields.py new file mode 100644 index 0000000..bab8ad3 --- /dev/null +++ b/apps/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) + |