app/gsoc/logic/models/timeline.py
changeset 2809 ecc4e534edd3
parent 784 23eaf3aa19b1
equal deleted inserted replaced
2808:0b2d25b1c473 2809:ecc4e534edd3
    17 """Timeline (Model) query functions.
    17 """Timeline (Model) query functions.
    18 """
    18 """
    19 
    19 
    20 __authors__ = [
    20 __authors__ = [
    21   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
    21   '"Sverre Rabbelier" <sverre@rabbelier.nl>',
       
    22   '"Lennard de Rijk" <ljvderijk@gmail.com.',
    22   ]
    23   ]
    23 
    24 
    24 
    25 
       
    26 from soc.logic.models import sponsor as sponsor_logic
    25 from soc.logic.models import timeline as timeline_logic
    27 from soc.logic.models import timeline as timeline_logic
    26 
    28 
    27 import gsoc.models.timeline
    29 import gsoc.models.timeline
    28 import soc.models.timeline
    30 import soc.models.timeline
    29 
    31 
    32   """Logic methods for the Timeline model.
    34   """Logic methods for the Timeline model.
    33   """
    35   """
    34 
    36 
    35   def __init__(self, model=gsoc.models.timeline.Timeline,
    37   def __init__(self, model=gsoc.models.timeline.Timeline,
    36                base_model=soc.models.timeline.Timeline,
    38                base_model=soc.models.timeline.Timeline,
    37                scope_logic=None):
    39                scope_logic=sponsor_logic):
    38     """Defines the name, key_name and model for this entity.
    40     """Defines the name, key_name and model for this entity.
    39     """
    41     """
    40 
    42 
    41     super(Logic, self).__init__(model=model, base_model=base_model,
    43     super(Logic, self).__init__(model=model, base_model=base_model,
    42                                 scope_logic=scope_logic)
    44                                 scope_logic=scope_logic)