Changeset 484 for elixir/trunk
- Timestamp:
- 10/01/09 16:12:10 (3 years ago)
- Location:
- elixir/trunk
- Files:
-
- 6 modified
-
elixir/ext/list.py (modified) (1 diff)
-
elixir/fields.py (modified) (2 diffs)
-
elixir/options.py (modified) (3 diffs)
-
elixir/properties.py (modified) (1 diff)
-
elixir/relationships.py (modified) (1 diff)
-
tests/test_through.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/elixir/ext/list.py
r427 r484 2 2 This extension is DEPRECATED. Please use the orderinglist SQLAlchemy 3 3 extension instead. 4 4 5 For details: 5 http://www.sqlalchemy.org/docs/04/plugins.html#plugins_orderinglist 6 http://www.sqlalchemy.org/docs/04/sqlalchemy_ext_orderinglist.html 6 http://www.sqlalchemy.org/docs/05/reference/ext/orderinglist.html 7 7 8 8 For an Elixir example: 9 http://elixir.ematia.de/trac/browser/elixir/trunk/tests/test_o2m.py#L167 9 http://elixir.ematia.de/trac/wiki/Recipes/UsingEntityForOrderedList 10 or 11 http://elixir.ematia.de/trac/browser/elixir/0.7.0/tests/test_o2m.py#L155 12 13 10 14 11 15 An ordered-list plugin for Elixir to help you make an entity be able to be -
elixir/trunk/elixir/fields.py
r465 r484 29 29 The Field class takes one mandatory argument, which is its type. Please refer 30 30 to SQLAlchemy documentation for a list of `types supported by SQLAlchemy 31 <http://www.sqlalchemy.org/docs/0 4/types.html>`_.31 <http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/types.html>`_. 32 32 33 33 Following that first mandatory argument, fields can take any number of … … 36 36 below **are passed on to the SQLAlchemy ``Column`` object**. Please refer to 37 37 the `SQLAlchemy Column object's documentation 38 <http://www.sqlalchemy.org/docs/0 4/sqlalchemy_schema.html39 # docstrings_sqlalchemy.schema_Column>`_ for more details about other38 <http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/schema.html 39 #sqlalchemy.schema.Column>`_ for more details about other 40 40 supported keyword arguments. 41 41 -
elixir/trunk/elixir/options.py
r475 r484 31 31 | | Note that polymorphic concrete inheritance is | 32 32 | | currently not implemented. See: | 33 | | http://www.sqlalchemy.org/docs/0 4/mappers.html |34 | | # advdatamapping_mapper_inheritance for an explanation|35 | | of the different kinds of inheritances.|33 | | http://www.sqlalchemy.org/docs/05/mappers.html | 34 | | #mapping-class-inheritance-hierarchies for an | 35 | | explanation of the different kinds of inheritances. | 36 36 +---------------------+-------------------------------------------------------+ 37 37 | ``polymorphic`` | Whether the inheritance should be polymorphic or not. | … … 146 146 147 147 For further information, please refer to the `SQLAlchemy table's documentation 148 <http://www.sqlalchemy.org/docs/0 4/sqlalchemy_schema.html149 # docstrings_sqlalchemy.schema_Table>`_.148 <http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/schema.html 149 #sqlalchemy.schema.Table>`_. 150 150 151 151 You might also be interested in the section about `constraints 152 <http://www.sqlalchemy.org/docs/04/metadata.html#metadata_constraints>`_. 152 <http://www.sqlalchemy.org/docs/05/metadata.html 153 #defining-constraints-and-indexes>`_. 153 154 154 155 `using_mapper_options` … … 163 164 For further information, please refer to the `SQLAlchemy mapper 164 165 function's documentation 165 <http://www.sqlalchemy.org/docs/0 4/sqlalchemy_orm.html166 # docstrings_sqlalchemy.orm_modfunc_mapper>`_.166 <http://www.sqlalchemy.org/docs/05/reference/orm/mapping.html 167 #sqlalchemy.orm.mapper>`_. 167 168 168 169 `using_options_defaults` -
elixir/trunk/elixir/properties.py
r443 r484 193 193 194 194 Please look at the `corresponding SQLAlchemy 195 documentation <http://www.sqlalchemy.org/docs/0 4/mappers.html196 # advdatamapping_mapper_expressions>`_ for details.195 documentation <http://www.sqlalchemy.org/docs/05/mappers.html 196 #sql-expressions-as-mapped-attributes>`_ for details. 197 197 ''' 198 198 -
elixir/trunk/elixir/relationships.py
r481 r484 20 20 mentioned in the documentation below are passed on to the SQLAlchemy 21 21 ``relation`` function. So, please refer to the `SQLAlchemy relation function's 22 documentation <http://www.sqlalchemy.org/docs/0 4/sqlalchemy_orm.html23 # docstrings_sqlalchemy.orm_modfunc_relation>`_ for further detail about which22 documentation <http://www.sqlalchemy.org/docs/05/reference/orm/mapping.html 23 #sqlalchemy.orm.relation>`_ for further detail about which 24 24 keyword arguments are supported. 25 25 -
elixir/trunk/tests/test_through.py
r467 r484 15 15 16 16 def test_rel_through(self): 17 # converted from http://www.sqlalchemy.org/docs/04/plugins.html#plugins_associationproxy 17 # converted from 18 # http://www.sqlalchemy.org/docs/05/reference/ext/associationproxy.html 18 19 class User(Entity): 19 20 has_field('name', String(64))
