[tor-commits] [weather/master] Add missing default value

kaner at torproject.org kaner at torproject.org
Sat Feb 26 21:47:27 UTC 2011


commit 1df91020c8f7cf2ed1c049706ee13e9063ac1d12
Author: Christian Fromme <kaner at strace.org>
Date:   Sat Feb 26 22:27:07 2011 +0100

    Add missing default value
---
 weather/weatherapp/models.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/weather/weatherapp/models.py b/weather/weatherapp/models.py
index a5a9e00..ca9f42d 100644
--- a/weather/weatherapp/models.py
+++ b/weather/weatherapp/models.py
@@ -492,7 +492,7 @@ class VersionSub(Subscription):
     _NOTIFY_TYPE_MAX_LEN = 13
 
     notify_type = models.CharField(max_length=_NOTIFY_TYPE_MAX_LEN,
-            default=None, blank=False)
+            default='OBSOLETE', blank=False)
 
 class BandwidthSub(Subscription):   
     """Model for low bandwidth notification subscriptions, which send





More information about the tor-commits mailing list