[Maas-devel] Avoid importing from models/__init.py__

Julian Edwards julian.edwards at canonical.com
Tue Jun 24 07:13:23 UTC 2014


This insanity will show you why:

bin/test.maas src/maasserver/tests/test_dns.py

It's better to import from the sub-module that owns the model, and
you're far less likely to get circular imports.




More information about the Maas-devel mailing list