Show
Ignore:
Timestamp:
11/12/09 14:47:53 (3 years ago)
Author:
ged
Message:

- Added a new collection which can resolve entities relative to the current

entity, for example "..other_module.Class" (based on patches from Johannes
Janssen, closes #93).

- Added a new entity option "resolve_root", which allows one to specify the

root module where your entities are defined. The string will be prepended
to all "absolute" entity paths. It can also be used on a per-entity basis.
This feature is based on a patch from Johannes Janssen, see #93.

Files:
1 modified

Legend:

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

    r491 r515  
    3636                              Synonym 
    3737from elixir.statements import Statement 
    38 from elixir.collection import EntityCollection 
     38from elixir.collection import EntityCollection, GlobalEntityCollection 
    3939 
    4040 
     
    6868 
    6969# default entity collection 
    70 entities = EntityCollection() 
     70entities = GlobalEntityCollection() 
    7171 
    7272