← Back to team overview

maas-devel team mailing list archive

Avoid importing from models/__init.py__

 

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.


Follow ups