mpdaugherty/django-extensions — pull request #1 by brokenseal (2012-04-04 08:05:13+00:00)
Title: Merge from django-extensions master and a personal change

Hey Mike,
you might want to have a look at the last commit on this branch.

I added a simple but important change to the way the shell_plus command automatically imports all the modules from the project's apps: instead of relying on the fact that everybody puts the models inside the app_name.models module, use the model's own module name instead.

Since we have most of our models outside that module on fftenant, I find this change quite useful since I was tired of always having to import long paths like farmforce.fftenant.modules.virtualaccount.models and stuff like that every time.

Cheers,
Davide