Pilsburgh / django-forum

Automatically exported from code.google.com/p/django-forum
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Use of BooleanField #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Currently using revision 10982 of django-trunk
2. Process of validating the modules -- ./manage syncdb

Error produced:
Error: One or more models did not validate:
forum.thread: "sticky": BooleanFields do not accept null values. Use a 
NullBoole                              anField instead.
forum.thread: "closed": BooleanFields do not accept null values. Use a 
NullBoole                              anField instead.

Fix for error:
'BooleanField' - used for two-value (true or false) logic.
'NullBooleanField' - used for three-value (true, false or null) logic.

Original issue reported on code.google.com by Cronei...@gmail.com on 12 Jun 2009 at 5:27

Attachments:

GoogleCodeExporter commented 9 years ago
Duplicate of issue 65.

Original comment by rwpoul...@gmail.com on 4 Aug 2009 at 12:29