Quantcast
Viewing latest article 22
Browse Latest Browse All 49

Answer by David Z for Grouping imports together from subdirectories

Nope. The package that contains a module will not necessarily know anything about the contents of the module, so in your case accounts doesn't know anything about the User class in accounts.user. There isn't any general way to group things more than what you're already doing.


Viewing latest article 22
Browse Latest Browse All 49

Trending Articles