Fixed #8126: improved `admin.autodiscover()` to be more forgiving of invalid `INSTALLED_APPS` entries and/or exotic import schemes that don't have `__path__`.
Fixed #8126: improved `admin.autodiscover()` to be more forgiving of invalid `INSTALLED_APPS` entries and/or exotic import schemes that don't have `__path__`.


git-svn-id: 4f9f921b081c523744c7bf24d959a0db39629563@8583 bcc190cf-cafb-0310-a4f2-bffc1f526a37

sam-tsai/django-old,mitsuhiko/django,dcramer/django-compositepks,disqus/django-old,mitsuhiko/django,skevy/django,Instagram/django,Instagram/django,disqus/django-old,disqus/django-old,django-nonrel/django-nonrel,jamespacileo/django-france,bfirsh/django-old,Instagram/django,bfirsh/django-old,bfirsh/django-old,Smarsh/django,dcramer/django-compositepks,django-nonrel/django-nonrel,sam-tsai/django-old,mitsuhiko/django,t11e/django,jamespacileo/django-france,sam-tsai/django-old,dcramer/django-compositepks,Smarsh/django,jamespacileo/django-france,alex/django-old,Smarsh/django,skevy/django,django-nonrel/django-nonrel,t11e/django,sam-tsai/django-old,t11e/django,alex/django-old,alex/django-old,skevy/django,Smarsh/django