Re: Using unique on a field

2008-09-11 Thread [EMAIL PROTECTED]
If you use a model form it will also be validated. On Sep 11, 9:41 pm, "Chris Stromberger" <[EMAIL PROTECTED]> wrote: > Curious about using "unique" in a column definition of a model for a legacy > db.  My assumption is that "unique" only comes into play during db creation, > to create the index

Re: Using unique on a field

2008-09-11 Thread Marcelo Ramos
2008/9/11 Chris Stromberger <[EMAIL PROTECTED]>: > Curious about using "unique" in a column definition of a model for a legacy > db. My assumption is that "unique" only comes into play during db creation, > to create the index on the field, and thereafter uniqueness is enforced by > the db? Or

Using unique on a field

2008-09-11 Thread Chris Stromberger
Curious about using "unique" in a column definition of a model for a legacy db. My assumption is that "unique" only comes into play during db creation, to create the index on the field, and thereafter uniqueness is enforced by the db? Or does unique in a model affect creation of new model