--- 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'))