Mike Bayer 8fc50cd3a4 - Another pass through the series of error messages
emitted when relationship() is configured with
ambiguous arguments.   The "foreign_keys"
setting is no longer mentioned, as it is almost
never needed and it is preferable users set up
correct ForeignKey metadata, which is now the
recommendation.  If 'foreign_keys'
is used and is incorrect, the message suggests
the attribute is probably unnecessary.  Docs
for the attribute are beefed up.  This
because all confused relationship() users on the
ML appear to be attempting to use foreign_keys
due to the message, which only confuses them
further since Table metadata is much clearer.

- If the "secondary" table has no ForeignKey metadata
and no foreign_keys is set, even though the
user is passing screwed up information, it is assumed
that primary/secondaryjoin expressions should
consider only and all cols in "secondary" to be
foreign.  It's not possible with "secondary" for
the foreign keys to be elsewhere in any case.
A warning is now emitted instead of an error,
and the mapping succeeds. [ticket:1877]

- fixed incorrect "Alternate Collection Mappings" reference
in the docs, not sure if someone wants to reference
"Rows that Point to Themselves" function
- "Collection Mapping" is "Advanced Collection Mapping", this
section is troublesome since nobody really needs it but it
is public API
2010-08-14 14:52:18 -04:00
2010-08-08 20:58:05 -04:00
2010-04-09 16:54:08 +01:00
2010-07-05 19:54:46 -04:00
2009-08-06 21:11:27 +00:00
2010-01-07 23:56:00 +00:00
2010-03-20 14:35:03 -04:00
2010-03-09 16:47:45 -05:00
2010-07-05 19:54:46 -04:00
2010-04-23 00:33:50 -04:00

SQLAlchemy
++++++++++

The Python SQL Toolkit and Object Relational Mapper

Requirements
------------

SQLAlchemy requires Python 2.4 or higher.  One or more DB-API implementations
are also required for database access.  See docs/intro.html for more
information on supported DB-API implementations.

Python 3 Compatibility
----------------------

Please see README.py3k for Python 3 installation and testing instructions.

Installation Tools
------------------

Installation is supported with standard Python distutils, as well
as with setuptools or Distribute.  Distribute is recommended.
Distribute can be installed using the provided "distribute_setup.py" 
script.  The original setuptools may be installed using the 
"ez_setup.py" script if preferred, or simply do nothing and distutils
will be used.

Installing
----------

To install::

  python setup.py install

To use without installation, include the ``lib`` directory in your Python
path.

Installing the C extension
--------------------------

If installing with Setuptools or Distribute, the C extensions are built 
and installed using the --with-cextensions flag:

  python setup.py --with-cextensions install

If using plain Distutils, change the BUILD_CEXTENSIONS flag in setup.py
to "True".

Running Tests
-------------

Please see README.unittests for full instructions on running unit tests.

Package Contents
----------------

  doc/
     HTML documentation, including tutorials and API reference.  Point
     a browser to the "index.html" to start.

  examples/
     Fully commented and executable implementations for a variety of tasks.

  lib/
     SQLAlchemy.

  test/
     Unit tests for SQLAlchemy.

Help
----

Mailing lists, wiki, and more are available on-line at
http://www.sqlalchemy.org.

License
-------

SQLAlchemy is distributed under the `MIT license
<http://www.opensource.org/licenses/mit-license.php>`_.

S
Description
The Database Toolkit for Python
Readme MIT 156 MiB
Languages
Python 100%