app/soc/logic/models/site_settings.py
changeset 446 0b479d573a4c
parent 445 31927f21970d
child 481 94834a1e6c01
--- 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()