django - 如何在 django 上检索使用 google 登录的用户的照片个人资料 url
问题描述
存档.html:
<div class="img-description">
<img src="{{ user.urlprofile }}" class="avatar-url" alt="">
{% if user.get_full_name != '' %}
<span id="helloUser-des" class="mr-2 d-none d-lg-inline text-gray-600 small">{{ user.first_name | title }}!</span>
{% else %}
<span id="helloUser-des" class="mr-2 d-none d-lg-inline text-gray-600 small">{{ user.username | title}}!</span>!</span>
{% endif%}
</div>
非常感谢您提前
解决方案
推荐阅读
- sql-server - T-SQL计算每小时改变状态之间的时间
- javascript - 用于展开 div 的关闭按钮
- python - 主循环不等待 python 多处理池完成并冻结
- javascript - 找出渲染项目的时间
- android - 我们可以在ConstraintLayout Android中使用RelativeLayout或LinearLayout吗
- security - UDEMY 等公司如何保护视频不被下载
- sql - postgresql将列类型从数组更改为整数抛出转换错误
- reactjs - 使用 redux-saga 未捕获的 ReferenceError
- android - 如何在flutter中检测用户截图动作?
- tensorflow - 如何找到张量流数据集对象的大小?