Hi there,
I'm using django 1.1 beta now. There is a boolean column in my table.
I want to filp all the value, that is True to False and False to
True.
I found the F() expression in django 1.1 beta, and tried to use to to
satisfy my request but failed.
Here is my usage:
= code start =
class
Hi there,
I have a question on customize the db field. For this field, I want to
save integers in db, but want them to be my custom class when they are
used in Python code. In Django docs, it's said that I should set the
__metaclass__ to be models.SubfieldBase to make to_python() work. I
tried it
2 matches
Mail list logo