Commits

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)

docs/tutorial.rst

 Download EAG cms, untar it into projects/eagcms directory.::
 
    mkdir -p projects
-   wget http://cdn.bitbucket.org/petraszd/eagcms/downloads/eagcms-0.1.0.tar.gz
+   wget http://cdn.bitbucket.org/petraszd/eagcms/downloads/eagcms-0.1.1.tar.gz
    tar zxf eagcms-0.1.0.tar.gz
    mv eagcms projects
 

eagproject/eagadmin/templatetags/eagsite.py

 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
+types.load()
 from ..eagadmin.models import pages
 
 register = template.Library()