django 在settings中设置全局变量

1.在settings中设置:

2.在views中设置:

3.在settings中设置:

猜你喜欢

转载自blog.csdn.net/weixin_40744265/article/details/84981976
今日推荐