Changeset 5087 for main/waeup.sirp/trunk/src
- Timestamp:
- 26 Mar 2010, 11:49:39 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.txt
r5080 r5087 18 18 >>> from waeup.sirp.accesscodes.accesscodes import AccessCodeBatch 19 19 >>> batch = AccessCodeBatch( 20 ... datetime.datetime(2009, 12, 23), 'Fred', 10, 'APP', 12.12, 3) 20 ... datetime.datetime(2009, 12, 23), 'Fred','APP', 12.12, 3, num=10) 21 22 The entries of a batch have to be created manually. This is, because 23 we cannot add persistent objects in a still not persisted container: 24 25 >>> batch.createEntries() 21 26 22 27 Now we have three accesscodes stored in the batch:
Note: See TracChangeset for help on using the changeset viewer.