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 fo
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
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? reques.user to request.user
>
> O
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 .hbs
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
5 matches
Mail list logo