app/soc/modules/ghop/models/task.py
changeset 3082 da8cc38cabe9
parent 2858 9b59d89e6707
child 3083 f384c0a42920
--- a/app/soc/modules/ghop/models/task.py	Sun Nov 08 12:08:05 2009 -0800
+++ b/app/soc/modules/ghop/models/task.py	Sun Nov 08 12:11:14 2009 -0800
@@ -42,7 +42,7 @@
 class TaskTag(Tag):
   """Model for storing all Task tags.
   """
-  
+
   #: Each task_type tag is scoped under the program. 
   scope = db.ReferenceProperty(reference_class=soc.models.linkable.Linkable,
                                required=True,
@@ -180,7 +180,12 @@
   """Model for storing of arbitrary tags.
   """
 
-  pass
+  def __init__(self, *args, **kwds):
+    """Initialization function.
+    """
+
+    TaskTag.__init__(self, *args, **kwds)
+    self.auto_delete = True
 
 
 class GHOPTask(Taggable, soc.models.linkable.Linkable):