Mercurial > public > sg101
annotate user_photos/forms.py @ 695:2d35e5f97a99
In process work for #50. Started a user_photos application.
Initial commit with model, form, and view. The view doesn't save the photo yet.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 07 Sep 2013 20:50:46 -0500 |
parents | |
children | b2a8fde3173a |
rev | line source |
---|---|
bgneal@695 | 1 """Forms for the user_photos application.""" |
bgneal@695 | 2 from django import forms |
bgneal@695 | 3 |
bgneal@695 | 4 |
bgneal@695 | 5 class UploadForm(forms.Form): |
bgneal@695 | 6 image_file = forms.ImageField() |