I have a bunch of packages under a company namespace, and inside "company.__init__.py" in every package I have only the following:
__import__('pkg_resources').declare_namespace(__name__) Everything works fine except when detecting management commands. It will only detect commands in the first package in sys.path underneath "company.*". Once it has checked one package in the namespace it does not look inside any others. So "company.first_app.management.commands.my_command.py" will be detected but "company.second_app.management.commands.another_command.py" will not. I can effect which commands are detected and which are not by changing the order of paths in sys.path. Am I doing something wrong or is this a bug in Django? This setuptools link may be useful if you don't understand what I mean by a namespace package: http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---