equal
deleted
inserted
replaced
41 """Defines the name, key_name and model for this entity. |
41 """Defines the name, key_name and model for this entity. |
42 """ |
42 """ |
43 |
43 |
44 self._name = "SiteSettings" |
44 self._name = "SiteSettings" |
45 self._model = soc.models.site_settings.SiteSettings |
45 self._model = soc.models.site_settings.SiteSettings |
46 # TODO: remove line below when SiteSettings is implemented using |
|
47 # views.models.base.View approach |
|
48 self._keyName = key_name.nameSiteSettings |
|
49 self._skip_properties = [] |
46 self._skip_properties = [] |
|
47 |
|
48 def getMainKeyValues(self): |
|
49 """Returns the default key values for the site settings""" |
|
50 |
|
51 return [self.DEF_SITE_SETTINGS_PARTIAL_PATH, |
|
52 self.DEF_SITE_SETTINGS_LINK_NAME] |
50 |
53 |
51 |
54 |
52 logic = Logic() |
55 logic = Logic() |