Вы можете сделать это:
return render(request,'my_drive.html',locals())
и в шаблоне
{{work_drive}} / {{show_name}}
или мимо, как
context = {"data": form.cleaned_data}
return render(request,'my_drive.html',context)
и в шаблоне
{{data.work_drive}} / {{data.show_name}}
так что код вашего вида будет таким
def my_drive_fun(request):
if request.method =='POST':
form=my_drive_module(request.POST)
if form.is_valid():
Production_Drive = form.cleaned_data['Production_Drive']
work_drive = form.cleaned_data['work_drive']
show_name = form.cleaned_data['show_name']
show_sup = form.cleaned_data['show_sup']
show_coor = form.cleaned_data['show_coor']
glow_project="Projects"+show_name
pro_drive_path=Production_Drive+":"+"\\"
wor_drive_path = work_drive + ":" + "\\"
#text=form.cleaned_data['post']
context = {"data": form.cleaned_data}
return render(request,'my_drive.html',drive_data)
form=my_drive_module()
drive_data={'form':form}
return render(request,'my_drive.html',drive_data)