python module path含有. 的问题


python module path含有. 的问题

Published on Wed 08 Apr 2009 08:04 ( 1 year, 4 months ago)
Django Python 学习

今天遇到一个莫名其妙的问题,我的一个django project 放在一个目录下完全正常,但同样的在另外一个目录下执行manage.py的时候老是报告找不到这个项目所在的module. :(  执行的时候发现__init__.py根本没有编译…

折腾了良久,发现不正常的目录我取名为xxx.com, 因为这个里面的站点就取名为xxx.com, 想到这里面可能是有二义的,把目录的.com去掉,一切正常了。

记录一下。


Related posts:


Search related in web:

Custom Search

RSS Feed

One click subscribe this blog in your google reader!

Be social!


Want to say something here? please sign in



Blog posts link to this page
What are friends tweeting?
Tags cloud
Monthly Archives