app/soc/models/user.py
changeset 1041 dfe21b16c86c
parent 970 8b5611d5b053
child 1045 16e412c9b442
equal deleted inserted replaced
1040:d15138ee4e88 1041:dfe21b16c86c
    84   name.help_text = ugettext(
    84   name.help_text = ugettext(
    85       'Human-readable name (UTF-8) that will be displayed publicly on the'
    85       'Human-readable name (UTF-8) that will be displayed publicly on the'
    86       ' site.')
    86       ' site.')
    87       
    87       
    88   #: field storing whether User is a Developer with site-wide access.
    88   #: field storing whether User is a Developer with site-wide access.
    89   is_developer = db.BooleanProperty(
    89   is_developer = db.BooleanProperty(default=False,
    90       verbose_name=ugettext('Is Developer'))
    90       verbose_name=ugettext('Is Developer'))
    91   is_developer.help_text = ugettext(
    91   is_developer.help_text = ugettext(
    92       'Field used to indicate user with site-wide Developer access.')
    92       'Field used to indicate user with site-wide Developer access.')
    93 
    93 
    94   #: field storing whether User has agreed to the site-wide Terms of Service.
    94   #: field storing whether User has agreed to the site-wide Terms of Service.
    95   #: (Not a required field because the Terms of Service might not be present
    95   #: (Not a required field because the Terms of Service might not be present
    96   #: when the first User profile is created when bootstrapping the site.)
    96   #: when the first User profile is created when bootstrapping the site.)
    97   agrees_to_tos = db.BooleanProperty(
    97   agrees_to_tos = db.BooleanProperty(default=False,
    98       verbose_name=ugettext('Agrees to ToS'))
    98       verbose_name=ugettext('Agrees to ToS'))
    99   agrees_to_tos.help_text = ugettext(
    99   agrees_to_tos.help_text = ugettext(
   100       'Indicates that the user agrees to the site-wide Terms of Service.')
   100       'Indicates that the user agrees to the site-wide Terms of Service.')
   101 
   101