Thanks,
On Thursday 12 November 2015 12:28 AM, Jonathan Vanasco wrote:
@view_config is a decorator that registers the view callable function
( http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/viewconfig.html#adding-view-configuration-using-the-view-config-decorator
)
The various arguments trigger the view.
But I read that this is a slow way specially during the startup of the
web app? Is that correct?
There are other ways to register a view (such as `config.add_view`),
but `@view_config` is very popular.
--
So when using add_view, the rooting happens in the same line of code or
is it still done at a different place?
Happy hacking.
Krishnakant.
--
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.