You need both since there is a small (very small) probability that two users in different threads pass validation of the same new value and then both of them reach the db.
On Jan 5, 10:04 pm, Christopher Helck <[email protected]> wrote: > Is it better to add validation at the DB level through Field level > constraints like 'unique' or to validate at the form? When would it make > sense to validate at the DB level? > > Thanks, > C. Helck
-- You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en.

