Quantcast
Channel: User David Z - Stack Overflow
Viewing all articles
Browse latest Browse all 50

Answer by David Z for Grouping imports together from subdirectories

$
0
0

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 all articles
Browse latest Browse all 50

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>