app/soc/logic/models/site.py
changeset 537 f2bd9c465a6d
parent 535 9045b8888772
child 655 9635cbaa2dcd
equal deleted inserted replaced
536:6f267b8ad28b 537:f2bd9c465a6d
    41                base_model=soc.models.presence.Presence):
    41                base_model=soc.models.presence.Presence):
    42     """Defines the name, key_name and model for this entity.
    42     """Defines the name, key_name and model for this entity.
    43     """
    43     """
    44     presence.Logic.__init__(self, model=model, base_model=base_model)
    44     presence.Logic.__init__(self, model=model, base_model=base_model)
    45 
    45 
    46   def getKeyValues(self):
    46   def getKeyValues(self, unused_entity):
    47     """Returns the default key values for the site settings.
    47     """Returns the default key values for the site settings.
    48 
    48 
    49     The Site entity is always expected to be a singleton, so this method
    49     The Site entity is always expected to be a singleton, so this method
    50     returns the hard-coded scope and link_id.
    50     returns the hard-coded scope and link_id.
    51     """
    51     """