Re: unique_for_ fields

2008-10-01 Thread David Danier
> Short version: model-aware validation is being worked on. We didn't get > it finished for 1.0, but it's still ongoing work. Wouldn't it be nice to replace these three parameters by something like: class SomeModel(models.Model): [...] class Meta: unique_together = ('title', 'pub_

Re: unique_for_ fields

2008-09-28 Thread oggie rob
On Sep 28, 5:02 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Short version: model-aware validation is being worked on. We didn't get > it finished for 1.0, but it's still ongoing work. Great! Judging by the activity this is tracked in #6845 so I included a note and a reference in the ticke

Re: unique_for_ fields

2008-09-28 Thread Malcolm Tredinnick
On Sun, 2008-09-28 at 15:07 -0700, oggie rob wrote: > Hi all, > unique_for_date (and for_month, for_year as well) are not functional > in 1.0, but before I try to get them working, I'm wondering if there > is any thought about those fields. > > Currently they are included in the model field defi

unique_for_ fields

2008-09-28 Thread oggie rob
Hi all, unique_for_date (and for_month, for_year as well) are not functional in 1.0, but before I try to get them working, I'm wondering if there is any thought about those fields. Currently they are included in the model field definition, but of course the documentation mentions that it is used