id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 17304 Document conditions under which a namespace package may or may not be an app rwmcfa1@… Carl Meyer "when INSTALLED_APPS includes a module that does not have __file__ attribute an AttributeError is raised. this occurs with built-in modules (piston being an example of a app with this problem.) ... File ""/home/rm/lib/example/api/env/lib/python2.7/site-packages/django/utils/translation/trans_real.py"", line 163, in _fetch apppath = os.path.join(os.path.dirname(app.__file__), 'locale') AttributeError: 'module' object has no attribute '__file__' to reproduce create a django project with piston in INSTALLED_APPS and run ./manage.py syncdb" Cleanup/optimization closed Core (Other) dev Normal fixed Joe Holloway Accepted 1 0 0 0 0 0