python module path含有. 的问题
Published on Wed 08 Apr 2009 08:04 ( 1 year, 4 months ago)
今天遇到一个莫名其妙的问题,我的一个django project 放在一个目录下完全正常,但同样的在另外一个目录下执行manage.py的时候老是报告找不到这个项目所在的module. :( 执行的时候发现__init__.py根本没有编译…
折腾了良久,发现不正常的目录我取名为xxx.com, 因为这个里面的站点就取名为xxx.com, 想到这里面可能是有二义的,把目录的.com去掉,一切正常了。
记录一下。
Related posts:
- 自以为是
- 什么是好的Developer experience?
- Looking for partners to attend Startup Weekend Seattle in Mar 19-21
- app-engine-patch is now officially dead
- 警惕Context的push()和pop()
- GAE的blobstore初步体验
- Seattle: 开放P2P云计算平台 / 未来的anti GFW利器?
- Northwest Python Day 2010
- App Engine Patch对支持Generic View的一个问题和解决方案
- Reusable webapp的思考(5)
Search related in web:
Custom Search