Because I am not advanced in any type of programming.
–
CrisJul 5 '11 at 22:19

... But you are already using an (already-existing) attribute when you write things like Pixel.objects. :/
–
Karl KnechtelJul 6 '11 at 16:24

Yes. Pixel class is existing in my mysql tables. But now, when i add attribute "vote=models.BooleanField(default=False)" and do things like Michał Modzelewski wrote it works good. Do You know that it will be possible even if Pixel will be not have "vote" attribute? I am asking because my server using strange things for python/django and I can't configure it to use shell :/
–
CrisJul 6 '11 at 16:31

Yes, like Michał's answer says, you may just add the attribute to the Pixels when you want to. But it is usually better to set them up in the __init__ method, to keep organized. Your tools for saving to the SQL tables might have some other requirements, too... please check the documentation.
–
Karl KnechtelJul 6 '11 at 16:51