Changeset 4760 for waeup/branches/ulif-layout/src
- Timestamp:
- 9 Jan 2010, 11:33:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/university/certificate.txt
r4489 r4760 157 157 We cannot uncheck a certificate: 158 158 159 >>> mycertificate.review_state = ' init'159 >>> mycertificate.review_state = 'unchecked' 160 160 Traceback (most recent call last): 161 161 ... 162 InvalidTransitionError: Transition 'init' requires 'None' 163 as source state (is: 'checked') 162 NoTransitionAvailableError 163 164 The only states accepted at all are ``checked`` and 165 ``unchecked``. If we want to set something else this won't work: 166 167 >>> mycertificate.review_state = 'nonsense' 168 Traceback (most recent call last): 169 ... 170 NoTransitionAvailableError 171 164 172 165 173 .. method:: addCourseRef(course[, level=100,[ core_or_elective=True]])
Note: See TracChangeset for help on using the changeset viewer.