I'm looking for best practices when it comes to updating a row (or rows) on a table, and then informing the user of successful update.
For example, suppose you have web form that lets the user update his contact information. It's submitted to the 'update' action in the controller called 'mycontroller'. The action updates the database. And then you'd like to return the user to the form with a message like "Database updated successfully". Issuing h.redirect_to (controller='mycontroller', action='edit') is an option, but how do you set the message text so it is shown in a Mako template? Thanks. Edgar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
