Changeset 406 for elixir/trunk/elixir

Show
Ignore:
Timestamp:
10/01/08 16:51:40 (4 years ago)
Author:
ged
Message:

- added documentation for target_column and test for a O2M using a M2O with

target_column

Location:
elixir/trunk/elixir
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/elixir/ext/versioned.py

    r358 r406  
    135135        self.entity = entity 
    136136        self.add_mapper_extension(versioned_mapper_extension) 
    137         #TODO: we should rather check that the version_id_col isn't set  
     137        #TODO: we should rather check that the version_id_col isn't set 
    138138        # externally 
    139139        self.check_concurrent = check_concurrent 
  • elixir/trunk/elixir/relationships.py

    r405 r406  
    8787| ``column_kwargs``    | A dictionary holding any other keyword argument you  | 
    8888|                      | might want to pass to the Column.                    | 
     89+----------------------+------------------------------------------------------+ 
     90| ``target_column``    | Name (or list of names) of the target column(s).     | 
     91|                      | If this argument is not specified, the target entity | 
     92|                      | primary key column(s) are used.                      | 
    8993+----------------------+------------------------------------------------------+ 
    9094 
     
    607611        target_desc = self.target._descriptor 
    608612        #make sure the target has all its pk set up 
    609 #ca craint 
    610613        target_desc.create_pk_cols() 
    611614