-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mdipierro pisze:
> Yes the validator are applied to forms only but you can also do
> 
> SQLField('name',notnull=True,unique=True)
> 
> and if web2py is creating the table, the constraints will be enforced
> by the db.

Thanks for info. I will use it.

Regards,
Michal

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkQuV4ACgkQhqdZ4syw16wkVwCfbjp3y0aXWvfkkwJVX5kQdCDK
t2kAnRqJDIEiyfUi3+YjXQ4H1kH7uepv
=wQbw
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to