On 07-Jul-06, at 5:17 PM, Kenneth Gonsalves wrote:

>
>
> On 07-Jul-06, at 4:08 PM, Kilian CAVALOTTI wrote:
>
>> I created a model with a CharField which has to be NULL in the
>> database. So I
>> gave it blank=True, null=True and unique=True options. I have to
>> allow NULL
>> values in the database, as well as blank values in admin, but in
>> the same
>> time, I'd like to be sure that non NULL values are unique.
>
> i dont think any sane database would allow null values in a unique
> column - or should

scratch this - i was thinking of something else at the time
>

-- 

regards
kg
http://lawgon.livejournal.com
http://avsap.org.in



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to