app/soc/models/role.py
changeset 1160 56070e3badea
parent 1132 046668855732
child 1307 091a21cf3627
--- a/app/soc/models/role.py	Sun Feb 01 17:31:09 2009 +0000
+++ b/app/soc/models/role.py	Sun Feb 01 17:40:26 2009 +0000
@@ -303,7 +303,12 @@
       verbose_name=ugettext('Status of this Role'))
   status.help_text = ugettext(
       'Indicates the status of the role concerning which privileges may be used.')
-
+      
+  #: field storing whether the User has agreed to publish his location
+  publish_location = db.BooleanProperty(required=False, default=False,
+      verbose_name=ugettext('Publish my location'))
+  publish_location.help_text = ugettext(
+      'Indicates whether the user agreed to publish location.')
 
   def name(self):
     """Property as 'name' for use in common templates.