On Fri, 2006-07-07 at 17:25 +0530, Kenneth Gonsalves wrote:
> 
> 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

Fair enough. :-)

Malcolm



--~--~---------~--~----~------------~-------~--~----~
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