Source

djmako / djmako / __init__.py

Full commit
"""
Mako templates for django >= 1.2.
"""

from .loader import MakoLoader, app_template_dirs

from django.conf import settings
if getattr(settings, "DJMAKO_MONKEYPATCH", True):
    from .monkeypatches import patch_all
    patch_all()

try:
    import djmako.cache_plugin
except ImportError:
    print "cannot import cache plugin"
    pass