Skip to content

Commit 96b99b5

Browse files
committed
Updated to support Django 1.8
1 parent 302e2f1 commit 96b99b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fileupload/views.py

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
class PictureCreateView(CreateView):
1212
model = Picture
13+
fields = '__all__'
1314

1415
def form_valid(self, form):
1516
self.object = form.save()

0 commit comments

Comments
 (0)