Syntax error
This commit is contained in:
parent
29245d1e5f
commit
bf0d20dbbd
@ -66,11 +66,11 @@ class PlaceEditView(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:
|
for image in files:
|
||||||
place_image = PlaceImage.objects.create(
|
place_image = PlaceImage.objects.create(
|
||||||
filename=image,
|
filename=image,
|
||||||
place=place,
|
place=place,
|
||||||
submitted_by=submitter
|
submitted_by=submitter
|
||||||
)
|
)
|
||||||
place_image.save()
|
place_image.save()
|
||||||
|
Loading…
Reference in New Issue
Block a user