Ticket #405 (new enhancement)
[Patch] Split up @validate
| Reported by: | sluggo | Owned by: | thejimmyg |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.1 |
| Component: | widgets | Version: | 0.9.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
@validate does several different things which all work together only in a certain form scenario. Sometimes you need to do this in the middle of the action, or to skip parts of it, or to do parts of it intermixed with other stuff. One example is when you're validating against a database record ('state'), but the record isn't known or available until the action has started. Users can copy the @validate code into their actions, but it would be better to provide something more modular. Otherwise people feel bad about bypassing @validate because it's the "standard" way, and they're afraid of missing out on features they may want later or that Pylons might add someday.
Change History
Note: See
TracTickets for help on using
tickets.