Changeset 6495 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 2 Jul 2011, 01:54:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py
r6493 r6495 1 1 """Components to handle access codes. 2 3 Access codes (aka PINs) in waeup sites are organized in batches. That 4 means a certain accesscode must be part of a batch. As a site (or 5 university) can hold an arbitrary number of batches, we also provide a 6 batch container. Each university has one batch container that holds 7 all access code batches of which each one can hold several thousands 8 of access codes. 2 9 """ 3 10 import csv … … 17 24 18 25 class AccessCode(grok.Model): 26 """An access code (aka PIN). 27 """ 19 28 grok.implements(IAccessCode) 20 29 … … 57 66 @property 58 67 def history(self): 68 """A :class:`waeup.sirp.objecthistory.ObjectHistory` instance. 69 """ 59 70 history = IObjectHistory(self) 60 71 return '||'.join(history.messages)
Note: See TracChangeset for help on using the changeset viewer.