Changeset 363 in main


Ignore:
Timestamp:
10/03/11 09:54:31 (8 years ago)
Author:
pcosquer
Message:

update docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/plmapp/models.py

    r360 r363  
    258258        name of the lifecycle, must be unique 
    259259 
     260    .. attribute:: official_state 
     261 
     262        *official* :class:`State` of the lifecycle 
     263 
    260264    .. note:: 
    261265        A Lifecycle is iterable and each iteration returns a string of 
    262266        the next state. 
    263267 
     268    .. seealso:: :class:`~plmapp.lifecycle.LifecycleList` 
     269        A class that simplifies the usage of a LifeCycle 
     270 
    264271    """ 
    265272    name = models.CharField(max_length=50, primary_key=True) 
    266273    official_state = models.ForeignKey(State) 
    267  
    268     # XXX description field ? 
    269274 
    270275    def __unicode__(self): 
     
    380385             
    381386            Current :class:`State` of the object 
     387        .. attribute:: group 
     388 
     389            :class:`GroupInfo` that owns the object 
    382390 
    383391    .. note:: 
Note: See TracChangeset for help on using the changeset viewer.