app/soc/models/document.py
changeset 1191 bb530ca58bc5
parent 1141 4a37239d834f
child 1262 e2e5b7798746
equal deleted inserted replaced
1190:449b9d93d890 1191:bb530ca58bc5
    61   read_access.help_text = ugettext(
    61   read_access.help_text = ugettext(
    62       'Indicates the state of the document, '
    62       'Indicates the state of the document, '
    63       'determines the access scheme.')
    63       'determines the access scheme.')
    64 
    64 
    65   #: field storing the required access to write to this document
    65   #: field storing the required access to write to this document
    66   write_access = db.StringProperty(default='public', required=True,
    66   write_access = db.StringProperty(default='admin', required=True,
    67       choices=['admin', 'restricted', 'member', 'user'],
    67       choices=['admin', 'restricted', 'member', 'user'],
    68       verbose_name=ugettext('Write Access'))
    68       verbose_name=ugettext('Write Access'))
    69   write_access.help_text = ugettext(
    69   write_access.help_text = ugettext(
    70       'Indicates the state of the document, '
    70       'Indicates the state of the document, '
    71       'determines the access scheme.')
    71       'determines the access scheme.')