为什么我不通过request.user来吸引用户

时间:2020-06-03 22:27:17

标签: django-templates

**why i am not get user by request.user in template what can i do how i get user in template....................................................................................................**

为什么不正确,我不知道.....您有任何建议吗,请给我.................................... ................................................... ...................

    template
    Welcome  {{ user.get_username}}
    Welcome  {{ user.request.user}}

    and another one this button is not work after apply below condition

{%,如果i.user == request.user.get_username%} 删除 {%endif%}

0 个答案:

没有答案