summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2016-10-13Removed unused InsertQuery.clone().Tim Graham
Unknown if it was ever needed.
2016-10-13Removed unneeded try/except in Query.names_to_path().Tim Graham
2016-10-13Removed unused branch in SQLUpdateCompiler.as_sql().Tim Graham
Unknown if it was ever needed.
2016-10-13Removed unused branch in Query.change_aliases().Tim Graham
Unused since 0c7633178fa9410f102e4708cef979b873bccb76.
2016-10-13Removed unused EmptyResultSets in SQLCompilers.Tim Graham
Unused since ed1bcf05158acf4bf4e0189d477b6c762bd0133e.
2016-10-12Fixed #24607 -- Serialized natural keys in multi-table inheritance models.João Sampaio
2016-10-12Fixed #27323 -- Optimized Oracle introspection by using USER_SEQUENCES ↵Mariusz Felisiak
instead of USER_CATALOG.
2016-10-12Removed unused SubqueryConstraint.relabel_aliases() and clone() methods.Tim Graham
Unused since b68212f539f206679580afbfd008e7d329c9cd31.
2016-10-11Replaced '__' with LOOKUP_SEP constant.Nick Pope
2016-10-10Fixed gis_tests.geoapp when run in isolation.Tim Graham
"from django.db.models import *" in contrib/gis/db/models/__init__.py could obscure gis's functions.py resulting in exceptions like: "module 'django.db.models.functions' has no attribute 'Union'".
2016-10-06Fixed #27300 -- Made makemigrations --dry-run output a string (no bytes)Claude Paroz
Thanks Markus Holtermann for the report and the review.
2016-10-04Refs #18974 -- Deprecated @models.permalink() decorator.Tim Graham
2016-10-04Fixed #27193 -- Preserved ordering in select_for_update subqueries.François Freitag
2016-10-04Refs #27118 -- Reallowed using pk in QuerySet.get/update_or_create().François Freitag
2016-10-04Fixed #27279 -- Fixed a migration performance regression related to ↵Simon Charette
RenameModel operations. Thanks Trac alias mtomiyoshi for the report, Marten Kenbeek for the initial patch and Tim for the review.
2016-10-01Fixed #26541 -- Allowed MySQL transaction detection to work without table ↵Mariusz Felisiak
creation.
2016-09-30Updated links to the current version of MySQL docs.Tim Graham
2016-09-28Fixed #27217 -- Fixed crash in CreateModel optimization with models that use ↵Tim Graham
mixins. Thanks Simon Charette for review.
2016-09-27Fixed #27282 -- Allowed using an integer DATABASES['PORT'] for Oracle.Zapelini
2016-09-27Fixed #27268 -- Restored an invalid related field lookup error message in ↵Mariusz Felisiak
QuerySet filtering.
2016-09-27Removed unused branch in SQLCompiler.as_subquery_condition().Tim Graham
Unused since dcdc579d162b750ee3449e34efd772703592faca.
2016-09-26Removed missing name in django.db __all__.Adam Chainz
'backend' hasn't existed since 051c666acac770dea1af2fc223cc695f985f02f7.
2016-09-26Removed obsolete lines in DeferredAttribute.__get__().Tim Graham
Obsolete as of c21e86ab9e3e5ebd6d245d038cb0cb352cd84c3a.
2016-09-26Removed DatabaseError and IntegrityError declarations from database backends.Adam Chainz
Unused since 11ee9746a0530ec38f523fb4de44950d9b783877.
2016-09-24Fixed #27118 -- Made QuerySet.get_or_create()/update_or_create() error for a ↵François Freitag
non-field in their arguments.
2016-09-24Removed unused FieldGetDbPrepValueMixin.get_prep_lookup_value().Tim Graham
Unused since its introduction in 4f138fe5a496a81115c4fba6615a517fc62c3b17.
2016-09-23Removed unused Prefetch.get_current_prefetch_through().Tim Graham
Unused since its introduction in f51c1f590085556abca44fd2a49618162203b2ec.
2016-09-22Removed unnecessary casting when using builtin lookups on PostgreSQL.Simon Charette
2016-09-22Fixed #27159 -- Prevented pickling a query with an __in=inner_qs lookup from ↵Jani Tiainen
evaluating inner_qs.
2016-09-19Fixed #27219 -- Changed cx_Oracle client encoding to AL32UTF8 to allow ↵Dmitry Medvinsky
4-byte characters.
2016-09-19Fixed #27165 -- Removed unnecessary CreateModel(... 'indexes': []) in ↵akki
migrations.
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-17Made FieldError/FieldDoesNotExist messages uniform across Python versions.François Freitag
Removed possible u'' prefixes on Python 2.
2016-09-16Fixed #27235 -- Removed some usage of mutable default arguments.Chris Lamb
2016-09-12Used a database feature to prevent the jsonb test model from being migrated.Simon Charette
Thanks Tim for the review.
2016-09-12Refs #27098 -- Added introspection for expression-based index on PostgreSQLClaude Paroz
Also test it on PostGIS raster fields.
2016-09-12Reformatted PostgreSQL query for better readabilityClaude Paroz
2016-09-12Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexesClaude Paroz
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review.
2016-09-09Fixed #27204 -- Made clashing m2m intermediary table checks ignore unmanaged ↵Tim Graham
models.
2016-09-09Fixed #27062 -- Eased implementing select_for_update() on MSSQL.Mikhail Denisenko
2016-09-09Fixed #27195 -- Stopped dropping default when adding a nullable column.Simon Charette
Thanks Rob Golding from Zapier for the report.
2016-09-08Fixed #27170 -- Added DatabaseWrapper class attributes to ease subclassing.Chris Jerdonek
2016-09-08Refs #15250 -- Removed an obsolete comment regarding MTI cascade deletion.Simon Charette
2016-09-07Fixed #27180 -- Fixed a crash in MySQL checks where SELECT @@sql_mode ↵Markus Gerards
doesn't return a result.
2016-09-03Replaced smart_* by force_* calls whenever possibleClaude Paroz
The smart_* version should only be used when a lazy string should keep its lazy status.
2016-09-02Fixed #27097 -- Added index type introspection to built-in db backends.Akshesh
2016-09-02Fixed #25476 -- Allowed PostgreSQL introspection to work regardless of table ↵Marcos Vives Del Sol
owner.
2016-09-01Fixed #27142, #27110 -- Made makemigrations consistency checks respect ↵Tim Graham
database routers. Partially reverted refs #27054 except for one of the tests as this solution supersedes that one. Thanks Shai Berger for the review.
2016-08-30Fixed #27081 -- Allowed migrations to serialize methods on pypy.Tim Graham
2016-08-30Fixed #25109 -- Stopped silencing explicitly specified migration modules ↵Simon Charette
import errors. Thanks Tim for the review.