app/soc/models/timeline.py
changeset 766 046b4b51eabf
parent 765 a0a4cbd7693b
child 771 0b1beae179f5
--- a/app/soc/models/timeline.py	Tue Jan 06 16:01:16 2009 +0000
+++ b/app/soc/models/timeline.py	Tue Jan 06 16:55:27 2009 +0000
@@ -25,18 +25,13 @@
 
 from django.utils.translation import ugettext_lazy
 
-import soc.models.program
+from soc.models import base
 
-class Timeline(soc.models.timeline.Timeline):
+
+class Timeline(base.ModelWithFieldAttributes):
   """The Timeline Model, representing the timeline for a Program.
   """
 
-  #: Required 1:1 relationship indicating the Program the Timeline
-  #: belongs to.
-  program = db.ReferenceProperty(reference_class=soc.models.program.Program,
-                                 required=True, collection_name="timeline",
-                                 verbose_name=ugettext_lazy('Timeline'))
-
   program_start_data = db.DateTimeProperty(
       verbose_name=ugettext_lazy('Program Start date'))