On 9/2/13 1:12 AM, Roberto Guerra wrote:
Thank you, that explains it. Will give it a try. The Class Views section in
the Quick Tour could probably mention that the methods can take the same
view_config options as the 'function views'. It was a little unclear from
looking at the example what told pyramid to render the edit form or the
delete form. I literally just learned about request_param. So maybe we can
say in that section that pyramid knows to display either the 'Edit' or
'Delete' view because of request_param. And then have a link to the
request_param documentation.

It took a while but I finally updated the Quick Tour view classes section to mention your points above:


http://docs.pylonsproject.org/projects/pyramid/en/master/quick_tour.html#view-classes

Roberto, if you have any other suggestions on how I could better present that information, let me know. Also, based on your input, I changed the Quick Tutorial to have one step that was a simple conversion from functions to view classes, then a second step which showed a lot more.

--Paul

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