My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 67 attachment: NullBooleanField.diff (822 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: models.py
===================================================================
--- models.py (revision 45)
+++ models.py (working copy)
@@ -152,8 +152,8 @@
"""
forum = models.ForeignKey(Forum)
title = models.CharField(_("Title"), max_length=100)
- sticky = models.BooleanField(_("Sticky?"), blank=True, null=True, default=False)
- closed = models.BooleanField(_("Closed?"), blank=True, null=True, default=False)
+ sticky = models.NullBooleanField(_("Sticky?"), blank=True, null=True, default=False)
+ closed = models.NullBooleanField(_("Closed?"), blank=True, null=True, default=False)
posts = models.IntegerField(_("Posts"), default=0)
views = models.IntegerField(_("Views"), default=0)
latest_post_time = models.DateTimeField(_("Latest Post Time"), blank=True, null=True)
Powered by Google Project Hosting