equal
deleted
inserted
replaced
301 status = db.StringProperty(default='active', |
301 status = db.StringProperty(default='active', |
302 choices=['active','invalid','inactive'], |
302 choices=['active','invalid','inactive'], |
303 verbose_name=ugettext('Status of this Role')) |
303 verbose_name=ugettext('Status of this Role')) |
304 status.help_text = ugettext( |
304 status.help_text = ugettext( |
305 'Indicates the status of the role concerning which privileges may be used.') |
305 'Indicates the status of the role concerning which privileges may be used.') |
306 |
306 |
|
307 #: field storing whether the User has agreed to publish his location |
|
308 publish_location = db.BooleanProperty(required=False, default=False, |
|
309 verbose_name=ugettext('Publish my location')) |
|
310 publish_location.help_text = ugettext( |
|
311 'Indicates whether the user agreed to publish location.') |
307 |
312 |
308 def name(self): |
313 def name(self): |
309 """Property as 'name' for use in common templates. |
314 """Property as 'name' for use in common templates. |
310 """ |
315 """ |
311 if self.name_on_certificates: |
316 if self.name_on_certificates: |