Show
Ignore:
Timestamp:
06/15/07 16:13:42 (8 years ago)
Author:
ged
Message:

- Added has_property statement to add properties on the entity mapper which

rely on columns (an thus need them to be defined before the property can be
declared). See tests/test_has_property.py for an example.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/elixir/__init__.py

    r119 r130  
    2828from elixir.relationships import belongs_to, has_one, has_many, \ 
    2929                                 has_and_belongs_to_many 
     30from elixir.properties import has_property 
    3031 
    3132try: 
     
    3738 
    3839__all__ = ['Entity', 'EntityMeta', 'Field', 'has_field', 'with_fields', 
     40           'has_property',  
    3941           'belongs_to', 'has_one', 'has_many', 'has_and_belongs_to_many', 
    4042           'using_options', 'using_table_options', 'using_mapper_options',