code: def entry_point(context, block_name):
      
      from waliki.plugins import get_plugins
      includes = []
      for plugin in get_plugins():
          template_name = 'waliki/%s_%s.html' % (plugin.slug, block_name)
          try:
              # template exists
              template.loader.get_template(template_name)
              includes.append(template_name)
          except template.TemplateDoesNotExist:
              continue
      context.update({'includes': includes})
      return context
docs: include an snippet at the bottom of a block, if it exists
  
      For example, if the plugin with slug 'attachments' is registered
  
         waliki/attachments_edit_content.html  will be included with
  
          {% entry_point 'edit_content' %}
  
      which is declared at the bottom of the block 'content' in edit.html