Monday, March 23, 2015

Re: Why I don't access the {{ user }} variable in template?

On Monday, 23 March 2015 14:16:00 UTC, Fellipe Henrique wrote:
Hello,

I have this settings.py [1], and my CustomUser [2]

When I try to use in my template:

{{ user_first_name }} 

don't show anything... What I miss in these code?

 
You should show your view. Are you using a RequestContext? 
--
DR.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1e057e9f-8ee7-4c08-90f7-dfabd6e72818%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment