--- a/app/soc/logic/models/site_settings.py Wed Nov 05 23:36:28 2008 +0000
+++ b/app/soc/logic/models/site_settings.py Wed Nov 05 23:38:00 2008 +0000
@@ -43,10 +43,13 @@
self._name = "SiteSettings"
self._model = soc.models.site_settings.SiteSettings
- # TODO: remove line below when SiteSettings is implemented using
- # views.models.base.View approach
- self._keyName = key_name.nameSiteSettings
self._skip_properties = []
+ def getMainKeyValues(self):
+ """Returns the default key values for the site settings"""
+
+ return [self.DEF_SITE_SETTINGS_PARTIAL_PATH,
+ self.DEF_SITE_SETTINGS_LINK_NAME]
+
logic = Logic()