How do I query for this in Django?

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-05-07T23:51:28Z Indexed on 2010/05/07 23:58 UTC
Read the original article Hit count: 119

Filed under:
|
|
|
| random_code         | varchar(200)  | YES  | UNI | NULL    |                |

MyTable.objects.filter(random_code = None)

Is this correct? Will this SELECT where there is no random code set? Above is my table.

© Stack Overflow or respective owner

Related posts about python

Related posts about django