app/soc/modules/ghop/logic/models/program.py
changeset 2407 e23fce20ad3a
parent 2401 bf70c5a0ef66
child 2783 339696f3f5cf
equal deleted inserted replaced
2406:6f966e1a80bc 2407:e23fce20ad3a
    25 from soc.logic.models import program
    25 from soc.logic.models import program
    26 from soc.logic.models import sponsor as sponsor_logic
    26 from soc.logic.models import sponsor as sponsor_logic
    27 
    27 
    28 import soc.models.program
    28 import soc.models.program
    29 
    29 
    30 from soc.modules.ghop.models import program as ghop_program_model
    30 import soc.modules.ghop.models.program
    31 
    31 
    32 
    32 
    33 class Logic(program.Logic):
    33 class Logic(program.Logic):
    34   """Logic methods for the GHOPProgram model.
    34   """Logic methods for the GHOPProgram model.
    35   """
    35   """
    36 
    36 
    37   def __init__(self, model=ghop_program_model.GHOPProgram,
    37   def __init__(self, model=soc.modules.ghop.models.program.GHOPProgram,
    38                base_model=soc.models.program.Program,
    38                base_model=soc.models.program.Program,
    39                scope_logic=sponsor_logic):
    39                scope_logic=sponsor_logic):
    40     """Defines the name, key_name and model for this entity.
    40     """Defines the name, key_name and model for this entity.
    41     """
    41     """
    42 
    42