Return render(request, "includes/properties.html",{'property':property,'image':image}) NameError: имя 'image' не определено [закрыто]
images = request.FILES.getlist('images')
global image
for image in images:
image = PropertyImage.objects.create(image = image,property = property)
return render(request,"includes/properties.html",{'property':property,'image':image})