app/soc/models/role.py
changeset 1090 e4c2ccbeb25a
parent 1085 0afbdd0905ef
child 1131 9dd535241841
equal deleted inserted replaced
1089:810d466514c9 1090:e4c2ccbeb25a
   300   #: the student applications.
   300   #: the student applications.
   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 
   307 
   308   def name(self):
   308   def name(self):
   309     """Alias 'display_name' Property as 'name' for use in common templates.
   309     """Alias 'display_name' Property as 'name' for use in common templates.
   310     """
   310     """