On 5/23/2009 8:53 AM, Jani Tiainen wrote:
> Kai Diefenbach kirjoitti:
>> Hi Jani,
>>
>> On 23 Mai, 14:13, Jani Tiainen <rede...@gmail.com> wrote:
>>> 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 ...
>> You may look into this article: 
>> http://martyalchin.com/2008/jan/10/simple-plugin-framework/
> 
> I already did. it just didn't (Or I missed somehow) how to make 
> something like "toolbar" buttons in plugin that could be injected to my 
> main template.

If you're using Marty's pattern, why don't you just pass the mount point 
as a context variable to your template, then you can easily loop through 
the plugins that way, right?

-- 
George

--~--~---------~--~----~------------~-------~--~----~
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