ghickman / classify

34 stars 3 forks source link

Accept long python paths #7

Closed ghickman closed 11 years ago

ghickman commented 11 years ago

django.views.generic.DetailView is a valid path because Django imports the view from django.views.generic.edit into django.views.generic.__init__. However running this on your typical local view code (eg projects.views.MyListView) will fail because it's not a valid import.

pydoc handles this situation so we need to dig into how it's done there. I suspect something in/around the resolve or document functions might be doing the magic.

ghickman commented 11 years ago

Fixed in 476d181