Changeset 466
- Timestamp:
- 09/24/09 20:42:59 (3 years ago)
- Location:
- elixir/trunk/elixir
- Files:
-
- 2 modified
-
entity.py (modified) (2 diffs)
-
options.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/elixir/entity.py
r463 r466 762 762 763 763 # Process mutators. Needed before _install_autosetup_triggers so that 764 # we know of the metadata 764 # we know of the metadata (and whether the entity is autosetuped or not). 765 765 process_mutators(cls) 766 766 … … 814 814 #TODO: move as much as possible of those "_private" values to the 815 815 # descriptor, so that we don't mess the initial class. 816 warnings.warn("The 'autosetup' option on entities is deprecated. " 817 "Please call setup_all() manually after all your entities have been " 818 "declared.", DeprecationWarning, stacklevel=4) 816 819 tablename = cls._descriptor.tablename 817 820 schema = cls._descriptor.table_options.get('schema', None) -
elixir/trunk/elixir/options.py
r460 r466 116 116 | | that module. | 117 117 +---------------------+-------------------------------------------------------+ 118 | ``autosetup`` | Specify whether that entity will contain automatic | 119 | | setup triggers. That is if this entity will be | 118 | ``autosetup`` | DEPRECATED. Specify whether that entity will contain | 119 | | automatic setup triggers. | 120 | | That is if this entity will be | 120 121 | | automatically setup (along with all other entities | 121 122 | | which were already declared) if any of the following |
