Задать вопрос

Тел: +7 965 3737 888

497

Просмотров

0

Ответов

TrueNoneField

This custom model field is a variant of NullBooleanField, that stores only True and None (NULL) values. False is stored as NULL.

It's usefull for special purposes like unique/unique_together.

One small problem is here, that False is not lookuped as None.

This snippets is a response to 1830

Вопрос полезен? Да0/Нет0
file_3604.py(847.0б)
None