Changeset 18 for elixir/trunk/elixir/entity.py
- Timestamp:
- 02/01/07 23:30:27 (6 years ago)
- Files:
-
- 1 modified
-
elixir/trunk/elixir/entity.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/elixir/entity.py
r17 r18 19 19 class Entity(object): 20 20 ''' 21 The base class for all entities 21 The base class for all entities. All Elixir model objects should inherit 22 from this class. Statements can appear within the body of the definition 23 of an entity to define its fields, relationships, and other options. Here 24 is an example: 25 26 class Person(Entity): 27 has_field('name', Unicode(128)) 28 has_field('birthdate', DateTime, default=datetime.now) 29 30 For further information, please refer to the provided examples or tutorial. 22 31 ''' 23 32
