Anonymous committed 2b44220

EAG types loading bug, that sometimes couses 500 error when using
eagsite template tags outsite EAG cms app.

Comments (0)

Files changed (2)


 Download EAG cms, untar it into projects/eagcms directory.::
    mkdir -p projects
-   wget
+   wget
    tar zxf eagcms-0.1.0.tar.gz
    mv eagcms projects


 from django import template
 from django.template import TemplateSyntaxError, VariableDoesNotExist
+from ..eagadmin import types
+# Need to call load because these tags can be used without using
+# eagadmin.views module
 from ..eagadmin.models import pages
 register = template.Library()