diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-03-13 16:22:01 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-03-13 16:22:01 -0400 |
| commit | 4077e99f3f51789474bfe4f7ebee666682bf5cdd (patch) | |
| tree | eb1a213dfb53e75517a24d40cccd6b2e4440408b /lib/sqlalchemy/exc.py | |
| parent | a54b783c49b6f37654100fb6b129a14bddd6424a (diff) | |
| download | sqlalchemy-4077e99f3f51789474bfe4f7ebee666682bf5cdd.tar.gz | |
- tweaks regarding the use_alter update
Diffstat (limited to 'lib/sqlalchemy/exc.py')
| -rw-r--r-- | lib/sqlalchemy/exc.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sqlalchemy/exc.py b/lib/sqlalchemy/exc.py index c0d51382d..9b27436b3 100644 --- a/lib/sqlalchemy/exc.py +++ b/lib/sqlalchemy/exc.py @@ -54,8 +54,7 @@ class CircularDependencyError(SQLAlchemyError): or pre-deassociate one of the foreign key constrained values. The ``post_update`` flag described at :ref:`post_update` can resolve this cycle. - * In a :meth:`.MetaData.create_all`, :meth:`.MetaData.drop_all`, - :attr:`.MetaData.sorted_tables` operation, two :class:`.ForeignKey` + * In a :attr:`.MetaData.sorted_tables` operation, two :class:`.ForeignKey` or :class:`.ForeignKeyConstraint` objects mutually refer to each other. Apply the ``use_alter=True`` flag to one or both, see :ref:`use_alter`. |
