On 25 Mar 12:01, Guillem Barba Domingo wrote:
> El 24/03/2014 18:50, "Cédric Krier" <cedric.kr...@b2ck.com> va escriure:
> >
> > On 24 Mar 18:36, Guillem Barba Domingo wrote:
> > > El 24/03/2014 14:51, "Cédric Krier" <cedric.kr...@b2ck.com> va escriure:
> > > >
> > > > On 24 Mar 08:51, Guillem Barba Domingo wrote:
> > > > > You can achieve what you want with a UNIQUE sql_constraint and with
> > > _order
> > > > > property of model.
> > > >
> > > > UNIQUE constraints should always avoided if possible.
> > >
> > > Why?
> >
> > Because it is a constraint and each time you add a constraint you reduce
> > the possibilities for the user.
> 
> That's the reason why the constraint isn't ib the core module, but there
> isn't any technical reason to avoid constraints in custom modules, is it?

No but my comment is still valid.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpm2g956oMIL.pgp
Description: PGP signature

Reply via email to