Re: Deafult and hidden poll

2006-12-08 Thread RajeshD
> It is not working. When I try to add something by panel it sais that I > have to fix some errors, and those error is fact that, those 3 > field(ocena s_ocen l_ocen) that are not displayed in panel are empty. > Default=0 isn't working - and my question is why? You need editable=False instead of

Deafult and hidden poll

2006-12-08 Thread [EMAIL PROTECTED]
Hi, I have some strange problem with django. I have modules.py something like this: class Link(models.Model): nazwa = models.CharField(maxlength=50, verbose_name="Tytul Linka") [...] ocena = models.IntegerField(verbose_name="Ocena", editable="False", default=0) s_ocen = models.Int