Changeset 6495


Ignore:
Timestamp:
2 Jul 2011, 01:54:19 (15 years ago)
Author:
uli
Message:

Some more docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py

    r6493 r6495  
    11"""Components to handle access codes.
     2
     3Access codes (aka PINs) in waeup sites are organized in batches. That
     4means a certain accesscode must be part of a batch. As a site (or
     5university) can hold an arbitrary number of batches, we also provide a
     6batch container. Each university has one batch container that holds
     7all access code batches of which each one can hold several thousands
     8of access codes.
    29"""
    310import csv
    … …  
    1724
    1825class AccessCode(grok.Model):
     26    """An access code (aka PIN).
     27    """
    1928    grok.implements(IAccessCode)
    2029
    … …  
    5766    @property
    5867    def history(self):
     68        """A :class:`waeup.sirp.objecthistory.ObjectHistory` instance.
     69        """
    5970        history = IObjectHistory(self)
    6071        return '||'.join(history.messages)
Note: See TracChangeset for help on using the changeset viewer.