hello all,
i am very new to django , i have just started to work on django ,
i am using .hbs file in django project
my aim is to use request.user in .hbs file
i am trying this ...
not working
***********************************************view.py****************************************
data_dict = {.......
'user':reques.user,
# not working # but stacin name working like user: "jp"
.......}
content_type = 'application/json'
return HttpResponse(json.dumps(data_dict), content_type)
*******************************************.hbs file*****************************
<div class="ratdefsmall"><span class="strong">{{response.user}}NO RATING</span><br></div>
************************************************************************************