djangosnippets.org: Latest snippets tagged with 'bool'https://djangosnippets.org/tags/bool/2009-03-24T13:14:49.820590-05:00RequiredNullBooleanField
2009-03-24T13:14:49.820590-05:00wwu.housinghttps://djangosnippets.org/snippets/1393/<p>In our situation, we want the user to choose either yes or no. The only requirement is that they fill out the form. It is <em>not</em> required that they answer True/Yes.</p>
<p>The BooleanField treats None and False as False; The NullBooleanField distinguishes between None and False, but it doesn't raise …</p>
Freely redistributable