Jump to >

reviewboard.search.fields

Custom search index fields.

class BooleanField(**kwargs)[source]

A custom BooleanField.

This works around an issue in django-haystack that results in BooleanFields always returning True.

convert(value)[source]

Convert value to a boolean value.

Parameters

value (unicode) – The value to convert

Returns

The boolean representation of value.

Return type

bool