app/soc/views/models/program.py
changeset 771 0b1beae179f5
parent 770 eb2e69312953
child 777 16dcdb8f3357
equal deleted inserted replaced
770:eb2e69312953 771:0b1beae179f5
    95     else:
    95     else:
    96       # use the timeline from the entity
    96       # use the timeline from the entity
    97       fields['timeline'] = entity.timeline
    97       fields['timeline'] = entity.timeline
    98     
    98     
    99   def _createTimelineForType(self, type):
    99   def _createTimelineForType(self, type):
   100     """Creates and stores a timeline model for the given type of program
   100     """Creates and stores a timeline model for the given type of program.
   101     """
   101     """
   102     
   102     
   103     timelines = {'gsoc' : gsoc.models.timeline.Timeline(),
   103     timelines = {'gsoc' : gsoc.models.timeline.Timeline(),
   104                  'ghop' : soc.models.timeline.Timeline()}
   104                  'ghop' : soc.models.timeline.Timeline()}
   105         
   105