def post(self): print self.request.POST x_coord = self.request.POST.get('x_coord', 0) y_coord = self.request.POST.get('y_coord', 0) category = self.request.POST.get('category', 'Other') date = self.request.POST.get('date', str(int(time.time()))) img = self.request.POST.get('img', None).value image_file_id = gfs.put(img) print image_file_id stuff = Stuff(image_file_id, (y_coord, x_coord), date, category) print stuff.push()