Re: newbie question: validation of primary_key field

2008-12-21 Thread Kaaia
> I see from the traceback that the problem is occurring in > validate_unique. There were various bugs in the validation of unique > elements in forms in version 1.0, which were mainly fixed in version > 1.0.2. Try downloading that version instead and see if that fixes your > problem. Exactly! Va

newbie question: validation of primary_key field

2008-12-21 Thread Kaaia
Hi, I am very new in django (and python) so my question may be quite dummy, so be patient please. I am playing with example based on django's tutorial. I have following class: class Pilot(models.Model): ... cn = models.CharField('Soutěžní znak', max_length = 3, primary_key = True)