django1/django/db/models
Aymeric Augustin 0e51d8eb66 Fixed #20463 -- Made get_or_create more robust.
When an exception other than IntegrityError was raised, get_or_create
could fail and leave the database connection in an unusable state.

Thanks UloPe for the report.
2013-05-22 10:56:06 +02:00
..
fields Fixed #9321 -- Deprecated hard-coding of help text in model ManyToManyField fields. 2013-05-20 16:29:51 -03:00
sql Fixed qs.values() regression when used in subquery 2013-05-20 15:38:47 +03:00
__init__.py Systematically imported wraps from functools 2013-05-04 11:53:12 +02:00
aggregates.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
base.py Replaced an antiquated pattern. 2013-05-17 18:08:58 +02:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
deletion.py Fixed #19385 again, now with real code changes 2013-03-24 18:40:40 +02:00
expressions.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
loading.py Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 2013-02-05 04:16:07 -05:00
manager.py Fixed #19326 -- Added first() and last() methods to QuerySet 2013-05-21 18:52:28 +03:00
options.py Replaced an antiquated pattern. 2013-05-17 18:08:58 +02:00
query.py Fixed #20463 -- Made get_or_create more robust. 2013-05-22 10:56:06 +02:00
query_utils.py Converted a list comprehension into a generator expression in query_utils.py 2013-04-25 12:22:16 -05:00
related.py Replaced an antiquated pattern. 2013-05-17 18:08:58 +02:00
signals.py Added documentation for the 'db' argument of the post-syncdb signal. 2013-01-03 22:04:55 +01:00