app/soc/modules/ghop/logic/models/comment.py
changeset 2407 e23fce20ad3a
parent 2401 bf70c5a0ef66
child 2807 e716cd6a6de3
equal deleted inserted replaced
2406:6f966e1a80bc 2407:e23fce20ad3a
    25 from soc.logic.models import comment
    25 from soc.logic.models import comment
    26 from soc.logic.models import linkable as linkable_logic
    26 from soc.logic.models import linkable as linkable_logic
    27 
    27 
    28 import soc.models.comment
    28 import soc.models.comment
    29 
    29 
    30 from soc.modules.ghop.models import comment as ghop_comment_model
    30 import soc.modules.ghop.models.comment
    31 
    31 
    32 
    32 
    33 class Logic(comment.Logic):
    33 class Logic(comment.Logic):
    34   """Logic methods for the GHOPComment model.
    34   """Logic methods for the GHOPComment model.
    35   """
    35   """
    36 
    36 
    37   def __init__(self, model=ghop_comment_model.GHOPComment,
    37   def __init__(self, model=soc.modules.ghop.models.comment.GHOPComment,
    38                base_model=soc.models.comment.Comment,
    38                base_model=soc.models.comment.Comment,
    39                scope_logic=linkable_logic):
    39                scope_logic=linkable_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