Re: validation and the ORM layer

2009-05-25 Thread googletorp
Django 1.1 is im pure bigfix and stabalization mode, to get it out asap, so they probably wont fix this issue for version 1.1 ~Jakob On May 25, 8:32 pm, martin f krafft wrote: > also sprach Alex Gaynor [2009.05.25.1945 +0200]: > > > Django does not currently support model-validation, there is

Re: validation and the ORM layer

2009-05-25 Thread martin f krafft
also sprach Alex Gaynor [2009.05.25.1945 +0200]: > Django does not currently support model-validation, there is > a google summer of code project being done by Honza Kral to add > support for this. Good to know, thanks. This means that the feature won't be in 1.1 though, right? -- martin | htt

Re: validation and the ORM layer

2009-05-25 Thread Alex Gaynor
On Mon, May 25, 2009 at 12:35 PM, martin f krafft wrote: > Hey folks, > > while playing around with the DB API last night, we discovered that > the ORM layer does not enforce content validation. > > Since the blank field option defaults to False, we expected to be > unable to save ORM objects with

validation and the ORM layer

2009-05-25 Thread martin f krafft
Hey folks, while playing around with the DB API last night, we discovered that the ORM layer does not enforce content validation. Since the blank field option defaults to False, we expected to be unable to save ORM objects with empty fields, but the DB API will let us do just that: class Beers