django-extensions/django-extensions — pull request #563 by tayfun (2014-09-25 23:14:43+00:00)
Title: Fix model loading for sentry

Sentry has a weird model naming scheme where all model files are inside
a single directory called models and each 'app' models is in a file of
its own (I guess the authors thought this was a better idea when they
didn't have any views etc. but models only).

With the models directory begin in the import path, one can import by
from useroption import UserOption
for example.

If there are no app names, use the file name as app name.

Fixes #519