config.add_view(lambda x: {}, route_name='myroutename', 
renderer='templates/mytemplate.jinja2')

понедельник, 17 марта 2014 г., 20:45:04 UTC+6 пользователь Abdul Wahid 
написал:
>
> Hi All,
>
> I have gone through lots pyramid docs but still don't understand that how 
> can I directly render and html file such index.html on '/' url from config 
> instance instead of writing a separate view for rendering. 
>
>
> Thanks,
> Abdul Wahid
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to