rohitjain-rj / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

move managers import from module to function level in top level module #190

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
import tagging

will import tagging.managers which will import tagging.models

Even if it doesn't cause problems, top level modules shouldn't do stuff like 
that. Personally it has 
caused me hours of frustration because it tends to raise cascading errors 
during initialisation.

Original issue reported on code.google.com by hvende...@googlemail.com on 21 Mar 2009 at 4:51