djangosnippets.org: Latest snippets posted by wwu.housinghttps://djangosnippets.org/users/wwu.housing/2009-08-13T15:42:25.831712-05:00wwu.housingDjango Template "include_raw" tag
2009-08-13T15:42:25.831712-05:00wwu.housinghttps://djangosnippets.org/snippets/1684/<p>At WWU Housing, we started using the <a href="http://plugins.jquery.com/project/tempest">Tempest jQuery plugin</a> for javascript templating, which has the same {{ var }} syntax as Django's templating.</p>
<p>We wanted to be able to use the same templates in our server-side python and our client-side js, so we had to have a way of …</p>
Freely redistributableRequiredNullBooleanField
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