> 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
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
2 matches
Mail list logo