Hi all,

in 
this<http://docs.pylonsproject.org/projects/pyramid/en/1.4-branch/narr/views.html#defining-a-view-callable-as-a-class>
 doc, 
it said a view callable class *must have* __init__ and __call__ methods,
however, in https://github.com/mcdonc/bikes/blob/master/app7.py , the view 
callable classes obviously don't have the __call__ method.

I am a little bit confused now, is the __call__ method mandatory and what 
is the role of it?

thanks.

-- 
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