Hello I have problem with render_to_string
django it's showme this error message :
'SafeText' object has no attribute 'status_code'




my view :
def html(request):
    context = {'inf':  Itype.objects.all()}
    return render_to_string('smg/owl.html',context)  


Views must return Response object. You should use render_to_response in 
your case. 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to