On 5/20/06, PythonistL <[EMAIL PROTECTED]> wrote:
>
> Question 1
> I noticed in MySQL that if a table field has NULL value, then I can
> test in Python with that filed with None.
> In otherwords NULL in MySQL is the same as None. in Python
> Is it so or am I wrong?
yes, the null value will be
ith HTTP;
Sat, 20 May 2006 16:28:02 + (UTC)
From: "PythonistL" <[EMAIL PROTECTED]>
To: "Django users"
Subject: Re: NULL vs.None
Date: Sat, 20 May 2006 09:28:02 -0700
Message-ID: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[E
Question 1
I noticed in MySQL that if a table field has NULL value, then I can
test in Python with that filed with None.
In otherwords NULL in MySQL is the same as None. in Python
Is it so or am I wrong?
Question 2.
I also would like to test NULL values in my templates. So I would like
to us
06 12:00:06 +
Received: from counterweight.tredinnick.org (cust7071.nsw01.dataco.com.au
[203.171.88.159])
by sharp.pointy-stick.com (Postfix) with ESMTP id 2A2CDC38C
for ; Sat, 20 May 2006 22:00:02 +1000
(EST)
Subject: Re: NULL vs.None
From: Malcolm Tredinnick <[EMAIL PROTECTED]>
To:
4 matches
Mail list logo