app/soc/models/mentor.py
changeset 1989 3fa3384b5378
parent 1387 857e6cc8ebc1
child 2588 db306bbda381
--- a/app/soc/models/mentor.py	Sun Mar 22 20:13:19 2009 +0000
+++ b/app/soc/models/mentor.py	Sun Mar 22 22:06:54 2009 +0000
@@ -18,11 +18,14 @@
 
 __authors__ = [
   '"Todd Larsen" <tlarsen@google.com>',
+  '"Sverre Rabbelier" <sverre@rabbelier.nl>',
   '"Lennard de Rijk" <ljdverijk@gmail.com>',
 ]
 
 from google.appengine.ext import db
 
+from django.utils.translation import ugettext
+
 import soc.models.program
 import soc.models.role
 
@@ -34,3 +37,11 @@
   #: A required property that defines the program that this mentor works for
   program = db.ReferenceProperty(reference_class=soc.models.program.Program,
                               required=True, collection_name='mentors')
+
+  can_we_contact_you = db.BooleanProperty(verbose_name=ugettext(
+      'Can we contact you?'))
+  can_we_contact_you.help_text = ugettext(
+      'Please check here if you would not mind being contacted by the Program'
+      ' Administrators for follow up with members of the press who would like'
+      ' to interview you about the program.')
+  can_we_contact_you.group = ugettext("2. Contact Info (Private)")