摘要: Microsoft IIS creates something called AppPool. By default you will have a user IIS AppPool\DefaultAppPool. That user needs to have permissions to you 阅读全文
posted @ 2021-09-28 21:08 CrossPython 阅读(38) 评论(0) 推荐(0) 编辑
摘要: views.py中:定义一个global_settings函数,先把全局变量都引入过来,然后再返回:def global_setting(request):#注意有request参数 SITE_DESC = settings.SITE_DESC SITE_NAME = settings.SITE_N 阅读全文
posted @ 2021-09-28 17:42 CrossPython 阅读(153) 评论(0) 推荐(0) 编辑