app/soc/logic/models/home_settings.py
changeset 499 d22e4fe8e64b
parent 481 94834a1e6c01
child 512 aae25d2b4464
equal deleted inserted replaced
498:1cd81063a4c6 499:d22e4fe8e64b
    28 
    28 
    29 import soc.models.home_settings
    29 import soc.models.home_settings
    30 
    30 
    31 
    31 
    32 class Logic(base.Logic):
    32 class Logic(base.Logic):
    33   """Logic methods for the HomeSettings model
    33   """Logic methods for the HomeSettings model.
    34   """
    34   """
    35 
    35 
    36   def __init__(self):
    36   def __init__(self):
    37     """Defines the name, key_name and model for this entity.
    37     """Defines the name, key_name and model for this entity.
    38     """
    38     """
    49     """
    49     """
    50 
    50 
    51     return [fields['partial_path'], fields['link_name']]
    51     return [fields['partial_path'], fields['link_name']]
    52 
    52 
    53   def getKeyFieldNames(self):
    53   def getKeyFieldNames(self):
    54     """See base.Logic.getKeyFieldNames
    54     """See base.Logic.getKeyFieldNames.
    55     """
    55     """
    56 
    56 
    57     return ['partial_path', 'link_name']
    57     return ['partial_path', 'link_name']
    58 
    58 
    59 logic = Logic()
    59 logic = Logic()