Fixed missing for scope

This commit is contained in:
reverend 2020-08-09 11:40:23 +02:00
parent 89060f4ce0
commit 68db5fbc7a

View File

@ -88,6 +88,7 @@ class PlaceCreateView(View):
return render(request, 'create_place.html', context) return render(request, 'create_place.html', context)
def _apply_multipart_image_upload(self, files, place, submitter): def _apply_multipart_image_upload(self, files, place, submitter):
for image in files:
place_image = PlaceImage.objects.create( place_image = PlaceImage.objects.create(
filename=image, filename=image,
place=place, place=place,