Hi Rich,

> On 29 Apr 2016, at 19:52, Rich Rauenzahn <rraue...@gmail.com> wrote:
> 
> I see now that I need to provide a sentinel value -- BOO=True,VAL=<sentinel>, 
> or manually create additional unique indexes.

Indeed, you should write a migration with a RunSQL operation that creates a 
unique index on boo where boo = true. Then you can have only one row with boo = 
True.

-- 
Aymeric

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/7E3E39A4-A1FB-448C-82A7-9F10EF347902%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to