chartjes/djaml — pull request #18 by culebron (2012-10-05 12:31:00+00:00)
Title: djaml template tag & __init__ caused circural import

well, djaml/__init__.py loaded everything from loaders.py into local namespace. django.template.loaders.app_directories loader imports all apps. If I add djaml to installed_apps, it's imported by app_directories. But djaml/loaders.py imports app_directories in turn (when app_directories.py has not run till the end yet.) This circular import breaks pages and some shell commands. I think it's not much convenience to load loaders.py into __init__ to shorten 2 lines in settings.py.