[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [weather/master] Add missing default value
commit 1df91020c8f7cf2ed1c049706ee13e9063ac1d12
Author: Christian Fromme <kaner@xxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits