开发者

How do I access the AUTH_PROFILE_MODULE in Django's template?

I can开发者_Go百科 do this...and it prints the username.

{{ user.username }}

How can I print one of the field in my UserDetails model? (that's my AUTH_PROFILE_MODULE)

{{ user.get_profile().avatar_link }}???


{{ user.get_profile.avatar_link }}

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜