
1 mutoulbj 2013 年 6 月 26 日 有吗? |
2 qdvictory 2013 年 6 月 26 日 有可能是间接引用了吧 |
4 walnutist 2013 年 7 月 9 日 |
5 qdcanyun 2013 年 7 月 9 日 能否举个例子。。。。 如果4楼说的情况 感觉尽量别这么用 还是独立的写一条from...import...吧 不然就会产生依赖关系 以后如果有了bug可能会有什么影响。。。。 |
6 buru 2013 年 7 月 9 日 4楼正解 个人感觉独立写一条import比较好 |
7 siteshen 2013 年 7 月 11 日 和 django 没啥关系。 from X import * imports the module X, and creates references in the current namespace to all public objects defined by that module (that is, everything that doesn’t have a name starting with “_”). |