django1/django/db
Luke Plant ff3d746e8d Fixed bug in circular dependency algo for migration dependencies.
Previous algo only worked if the first item was a part of the loop,
and you would get an infinite loop otherwise (see test).

To fix this, it was much easier to do a pre-pass.

A bonus is that you now get an error message that actually helps you debug
the dependency problem.
2014-11-25 15:37:34 +00:00
..
backends Fixed #23889 -- Added more usage of quote_name_unless_alias() to avoid deprecation warnings. 2014-11-21 16:44:50 -05:00
migrations Fixed bug in circular dependency algo for migration dependencies. 2014-11-25 15:37:34 +00:00
models Fixed #23889 -- Added more usage of quote_name_unless_alias() to avoid deprecation warnings. 2014-11-21 16:44:50 -05:00
__init__.py Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets from a different Django version. 2014-06-11 10:03:34 -04:00
transaction.py Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. 2014-09-29 00:01:38 +07:00
utils.py Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS. 2014-07-03 07:42:52 -04:00