On Tuesday, September 3, 2013 10:50:41 PM UTC-4, Chung WONG wrote:
>
> thanks all.
> so to conclude,
> if @view_config() is used, __call__ is not necessary(or useless?)
> if the callable is called by add_view(), then __call__ is need.
>

If the view is mapped directly to a class, then __call__ is needed.

if the view is mapped onto a class's method, then __call__ is not used.

-- 
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/groups/opt_out.

Reply via email to