Added a 'site name' property to site
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 21 Feb 2009 23:35:29 +0000
changeset 1447 5e729070dc60
parent 1446 bcbbcb72429d
child 1448 abb676cb0094
Added a 'site name' property to site Patch by: Sverre Rabbelier
app/soc/models/site.py
--- a/app/soc/models/site.py	Sat Feb 21 21:56:55 2009 +0000
+++ b/app/soc/models/site.py	Sat Feb 21 23:35:29 2009 +0000
@@ -37,6 +37,11 @@
   any "presence" on the site, such as a Group or Program).
   """
 
+  #: The official name of the site
+  site_name = db.StringProperty(default="Melange",
+      verbose_name=ugettext('Site Name'))
+  site_name.help_text = ugettext('The official name of the Site')
+
   #: Valid Google Analytics tracking number, if entered every page
   #: is going to have Google Analytics JS initialization code in 
   #: the footer with the given tracking number.