app/gsoc/logic/models/timeline.py
changeset 778 bc13cd968946
parent 776 f86a76f52bf4
child 784 23eaf3aa19b1
equal deleted inserted replaced
777:16dcdb8f3357 778:bc13cd968946
    21   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
    21   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
    22   ]
    22   ]
    23 
    23 
    24 
    24 
    25 from soc.logic.models import timeline as timeline_logic
    25 from soc.logic.models import timeline as timeline_logic
    26 from soc.logic.models import program as program_logic
       
    27 
    26 
    28 import gsoc.models.timeline
    27 import gsoc.models.timeline
       
    28 import soc.models.timeline
    29 
    29 
    30 
    30 
    31 class Logic(timeline_logic.Logic):
    31 class Logic(timeline_logic.Logic):
    32   """Logic methods for the Timeline model
    32   """Logic methods for the Timeline model
    33   """
    33   """
    34 
    34 
    35   def __init__(self, model=gsoc.models.timeline.Timeline,
    35   def __init__(self, model=gsoc.models.timeline.Timeline,
    36                base_model=None, scope_logic=program_logic):
    36                base_model=soc.models.timeline.Timeline,
       
    37                scope_logic=None):
    37     """Defines the name, key_name and model for this entity.
    38     """Defines the name, key_name and model for this entity.
    38     """
    39     """
    39 
    40 
    40     super(Logic, self).__init__(model=model, base_model=base_model,
    41     super(Logic, self).__init__(model=model, base_model=base_model,
    41                                 scope_logic=scope_logic)
    42                                 scope_logic=scope_logic)