i want made a plugin sistem for one CMS my idea is:
#plugin
def plugin ():
do somting
return render_to_string('plugin.html',{})
and one database whit plugins method name "Plugin_sidebar"
#view
def home(request):
ps = Plugin_sidebar.objects.all()
return render_to_response('home.html',{'ps':ps})
and template whit custom tag eval()
{%for item in ps %}
{%eval item%} #custom tag
{%endfor%}
with this sistem the user can add and remove plugins... what do you think?