django1/django/db/models
Simon Charette dba4a634ba Refs #29641 -- Refactored database schema constraint creation.
Added a test for constraint names in the database.

Updated SQLite introspection to use sqlparse to allow reading the
constraint name for table check and unique constraints.

Co-authored-by: Ian Foote <python@ian.feete.org>
2018-11-13 15:25:44 -05:00
..
fields Fixed #29908 -- Fixed setting of foreign key after related set access if ForeignKey uses to_field. 2018-11-08 19:51:15 -05:00
functions Fixed #29767 -- Made date-related casts work on SQLite 2018-10-01 13:27:30 +02:00
sql Refs #27795 -- Removed force_text() usage in db/models/sql/query.py. 2018-10-08 14:47:01 -04:00
__init__.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
aggregates.py Fixed #29048 -- Added **extra_context to database function as_vendor() methods. 2018-08-23 11:52:09 -04:00
base.py Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for foreign keys that use to_field. 2018-10-28 22:54:02 -04:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
constraints.py Refs #29641 -- Refactored database schema constraint creation. 2018-11-13 15:25:44 -05:00
deletion.py Fixed #21171 -- Avoided starting a transaction when a single (or atomic queries) are executed. 2018-10-17 12:19:02 +02:00
expressions.py Moved make_hashable() to django.utils and added tests. 2018-10-17 11:17:23 -04:00
indexes.py Fixed #29547 -- Added support for partial indexes. 2018-10-29 19:34:54 -04:00
lookups.py Fixed #29503 -- Made __in lookup keep order of values in query. 2018-06-20 09:29:06 -04:00
manager.py Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
options.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
query.py Fixed #29908 -- Fixed setting of foreign key after related set access if ForeignKey uses to_field. 2018-11-08 19:51:15 -05:00
query_utils.py Replaced kwargs.pop() with keyword-only arguments. 2018-10-08 15:06:02 -04:00
signals.py Fixed imports per isort 4.3.0. 2018-02-01 09:29:46 +01:00
utils.py Refs #27656 -- Updated django.db docstring verbs according to PEP 257. 2017-02-28 09:17:27 -05:00