I'm designing application (site) that is supposed to rely heavily on 
pluings.

i didn't found much of references how I can create plugin that can 
provide something useful for my main template. something like:

myplugin.py:

provide_link = "<a href="{% url myplugin.views.linkaction %}">MyPlugin</a>"

And then in my "core" application template:
templates/mycore/mycore.html:

{% for plugin in allplugins %}{{ plugin.provide_link }}{% endfor %}


Any pointers to such apps or snippets that uses this (or similiar) 
tehcnique would be appreciated.

-- 
Jani Tiainen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to