Re: [python] [django] [mod_pyth on] [apache] 再次质疑Django+Mod_python 时对环境变量的处理
limodou <[email protected]>
| Newsgroups | gmane.comp.python.chinese |
|---|---|
| Message-ID | <[email protected]> |
2008/1/17 @@ <[email protected]>: > 总是得hard code一些东西的吧 比如DBUSER DBPASS之类的。 > 多点路径也没什么。 > 不是一个简单的hard coding的问题,关键是不要在程序中写死,易变或配置的东西应该独立出来,方便进行修改。 -- I like python! UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/ meide <<wxPython UI module>>: http://code.google.com/p/meide/ My Blog: http://www.donews.net/limodou _______________________________________________ python-chinese Post: send [email protected] Subscribe: send subscribe to [email protected] Unsubscribe: send unsubscribe to [email protected] Detail Info: http://python.cn/mailman/listinfo/python-chinese