On Fri, 2010-12-31 at 02:21 -0800, grassoalvaro wrote:
> I'm creating a CMS system and the idea is:
>
> main Configurator has route '/some-cms-page/' which is calling
> cms_view method:
>
> == pseudocode ==
> def cms_view(request):
> page = Page.get_page(request)
> response = ''
> for plugin in page.plugins:
> plugin = init_plugin()
> view = plugin_conf.get_view_method('current/url/address/')
> response += view(request)
> return response
>
> So, plugin MUST have own Configurator. And again my question is that
> Configurator has something similar to method 'get_view_method'?
No.
- C
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.