Changeset 13029 for main


Ignore:
Timestamp:
4 Jun 2015, 05:42:54 (10 years ago)
Author:
Henrik Bettermann
Message:

Allow 10 characters in codes and ids.

Add current_coursereg_deadline field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py

    r12926 r13029  
    172172
    173173#: Regular expressions to check id formats.
    174 check_id = re.compile(r"^[a-zA-Z0-9_-]{2,9}$").match
     174check_id = re.compile(r"^[a-zA-Z0-9_-]{2,10}$").match
    175175
    176176def validate_id(value):
     
    696696        )
    697697
     698    current_coursereg_deadline = schema.Datetime(
     699        title = _(u'Current Course Registration Deadline'),
     700        required = False,
     701        description = _('Example: ') + u'2011-12-31 23:59:59+01:00',
     702        )
     703
    698704    current_academic_session = schema.Choice(
    699705        title = _(u'Current Academic Session'),
Note: See TracChangeset for help on using the changeset viewer.