def show_user_form(request):
if request.method == 'POST':
form = RedactInfoUserForm(request.POST, request.FILES)
if form.is_valid():
form.save()
redirect('profile')
else:
form = RedactInfoUserForm()
return render(request, 'shop/user_profile.html', {'form':form})