its already included at the start of the template to load all plugin tags
{% load slider ...%}Regards, Fadi Samara. On Wed, Jul 3, 2013 at 11:00 PM, Fred Stluka <[email protected]> wrote: > Fadi, > > You need to {% load %} the file that defines the tags. > > --Fred > ------------------------------ > Fred Stluka -- mailto:[email protected] <[email protected]> -- > http://bristle.com/~fred/ > Bristle Software, Inc -- http://bristle.com -- Glad to be of service! > Open Source: Without walls and fences, we need no Windows or Gates. > ------------------------------ > > On 7/2/13 8:11 PM, Fadi Samara wrote: > > I try to build a plugins based application, I have created tags and > registered them for each plugin. > > I have a table stores each page plugins, and need to render any stored > plugin in the template accordingly as inclusion tag. > > Now for the template i use this: > > {% block slider_region %}{% for pagecontent in pagecontents %} > {% pagecontent.plugin %}{% endfor %}{% endblock %} > > But this returns: > > Invalid block tag: 'pagecontent.plugin', expected 'empty' or 'endfor' > > My question, how can I pass the plugin as a tag from view query to a > template and be rendered as inclusion tag. > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/AukAEPmgq_A/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.

