Hey there. `django.core.management.find_management_module()` has this description in the docstring that says it determines the path "without actually importing the application or the management module". Currently it doesn't support namespace packages and there's a long open ticket about it [1].
My question is a slightly philosophical one: why is it that important to not import the management module at that point? I'm asking because I'm using an unholy monkey patch [2] that shamelessly uses __import__ and I'm yet to discover why that's troublesome. It's been in heavy use for 18 months now. [1] https://code.djangoproject.com/ticket/14087 [2] https://github.com/LangaCore/kitdjango/blob/master/src/lck/django/namespace_package_support.py -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.