扫码关注官方订阅号
就是如: return render(request, 'index.html', {'lists':lists})假设我lists的数据处理比较多麻烦,所以渲染打开页面的时候可能较长,那怎么让他渲染好之前,先弄个预加载图片什么之类的。就是不要停在空白太长时间。谢谢
return render(request, 'index.html', {'lists':lists})
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部