In order to see cookies in sonam.html file def render_to_response(self, context, **response_kwargs): response = super().render_to_response(context,**response_kwargs) response.set_cookie('user','sonam') context['user']= self.request.COOKIES['user'] return response Is it right way?
One of the best teacher of TH-cam
100%
Supper to supper to supper teacher
Ek ek ko itna brief se smjate ho itna sayad hi koi smjata hoga sir
well done bro! I finally got what i am looking for. Eagerly waiting for REST framework.
Great work..keep making videos on django..and also your study material is very useful
You r a excellent teacher kudos great vedeos keep it up
love you sir....... I am your big fan....
waaah sir ji kya padhate ho aaap
Nice sir 👍👍👍
u explain gud
Amazing......................................... !
great Sir
Thank you so much.
incredible. well explained
amazing explanation.
Sir one more video plz ❤❤❤
Great work sir
Great👍👍
Good one Sirji👍
Hi sir, i didn't understand why you are returning template_name in list, can anyone explain me
you can modify the given template_name by another name, it is on you.
well explained
In order to see cookies in sonam.html file
def render_to_response(self, context, **response_kwargs):
response = super().render_to_response(context,**response_kwargs)
response.set_cookie('user','sonam')
context['user']= self.request.COOKIES['user']
return response
Is it right way?
Thanks
Brother can you make a video on User tracking in Django
type object 'Student' has no attribute 'objects' this is error
Hii sir please make video on Redis
👍👍👍👍👍❤❤❤
greatvsie
Why do u use Sonam everywhere?🤣