Re: how to pass request.user in .hbs file in django

2014-12-04 Thread JAI PRAKASH SINGH
hi actuall when i pass simple static value it shhows it in .hbs file (user: = "jai prakash singh") but when i pass request.user it show none (user:request.user) i think u r right , i should passs in serialise format. thank you let me try, and i will send u what is the response thank you again

Re: how to pass request.user in .hbs file in django

2014-12-04 Thread Collin Anderson
Hi, What happens when you try? You may need to "serialize" the individual attributes of user, or just return request.user.username. Django has some tools to help you serialize models. https://docs.djangoproject.com/en/dev/topics/serialization/ Collin On Tuesday, December 2, 2014 11:57:10 PM

Re: how to pass request.user in .hbs file in django

2014-12-02 Thread JAI PRAKASH SINGH
sir, thank you for reply. but actually this mistake was while posting , in my actual code request.user is present . so please if some more guidance from your side please share ... On Tue, Dec 2, 2014 at 7:16 PM, Jerry Dumblauskas wrote: > missing the t?

Re: how to pass request.user in .hbs file in django

2014-12-02 Thread Jerry Dumblauskas
missing the t? reques.user to request.user On Tue, Dec 2, 2014 at 7:42 AM, JAI PRAKASH SINGH < jaiprakashsingh...@gmail.com> wrote: > 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

how to pass request.user in .hbs file in django

2014-12-02 Thread JAI PRAKASH SINGH
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