Django: How to import a string variable into the django settings file from a middleware

后端 未结 0 1965
庸人自扰
庸人自扰 2020-12-19 05:00

I have a variable in my settings file, SITE_HOST_NAME, that I would want to dynamically change and update according to the current tenant domain, say, t1.leap.com. I have wr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题